geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toby cabot <>
Subject Re: deploy vs redeploy
Date Wed, 30 Jan 2008 12:41:33 GMT
On Wed, Jan 30, 2008 at 02:53:36AM -0800, MarcoLaponder wrote:
> In my autmatated build script is use the deploer jar to deploy my EAR, but as
> I am not aware if my ear is already loaded I would like to a deploy if it
> not present or a redeploy if it is already present. What is the best way to
> accomplish this ? 

In 1.0 I started the server in the background (since I couldn't get
the offline mode to work) then ran the distribute command which would
work in either case.  In 2.0.2 --offline works so I run offline
undeploy and ignore any errors, then run offline deploy.  It's ugly
but it seems to work OK.

View raw message