users@glassfish.java.net

Re: Update database at deployment time?

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Wed, 13 May 2009 09:25:54 -0700

On 5/13/09 9:15 AM, glassfish_at_javadesktop.org wrote:
> I am looking for a way to do a database update at the time of deployment. Right now, we are dropping an ear file in the autodeploy folder. What I would really like to see, if possible, is a way to package a script in the ear file that got executed when the ear was deployed to run the changes I want done to the database. Is this possible?
>
Why can't you modify the process/script/tool/ant/build-step/whatever
that drops the ear file in the autodeploy folder to also execute an
extra step?

Ludo
> Thanks,
> REM2500
> [Message sent by forum member 'rem2500' (rem2500)]
>
> http://forums.java.net/jive/thread.jspa?messageID=346114
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>