Well, Ant can invoke shell scripts and commands. In your case it would possibly be invoking the JBoss's stop.sh, followed by calling an Ant target that moves your WAR into a specified location and finally invoke the run.sh script for starting the JBoss server.
Look at Ant's <exec> task here - http://ant.apache.org/manual/CoreTasks/exec.html Cheers Avlesh On Tue, Jul 21, 2009 at 1:55 AM, Nafter <hdo...@allshare.nl> wrote: > > I would like to do some remote deployment. > My applications is running within JBoss. This JBoss installation is running > under a java service wrapper. > > The things I would like to do is the following: > 1] stop java service wrapper (which will automatically stop the JBoss) > 2] redeploy new content (WAR file) > 3] start java service wrapper again (which will automaticcally start the > JBoss again). > > How can ANT help me with this? Does somebody know that? > Thx. > -- > View this message in context: > http://www.nabble.com/Use-ANT-to-stop---start-a-java-service-wrapper-%28JBoss%29-tp24576912p24576912.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > >