ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Flemetakis" <>
Subject Re: How to run a background app?
Date Thu, 20 Sep 2001 19:46:29 GMT
I have never used the parallel task but it does sound to me like what you 
should use..

I would also suggest using sleep after you start your parallel tasks to give 
the app server time to start up before you begin your junit tests

If it it a weblogic server you might also be able to utilize the wlstart and 
wlstop features of ant to ensure a "clean" startup and shutdown of all 


>From: Paul Michali <>
>Subject: How to run a background app?
>Date: Thu, 20 Sep 2001 14:31:34 -0400
>I want to start up a Java app (server) and leave it running during the
>JUnit testing phase of a build. How do I do that from within Ant? It is
>OK, if I leave the app running, after the Ant run completes.
>I tried the <java ... fork="yes"/> but it will not return until the app
>ends. Do I use <parallel>?
>PCM (Paul Michali)
>Carrier Voice Gateway Business Unit (CVGBU)
>Cisco Systems, Inc.
>250 Apollo Drive
>Chelmsford, MA 01824
>Phone : (800) 572-6771 x 45817  (978) 244-5817 [direct]
>Paging: (800) 365-4578 [voice] [email page]

Get your FREE download of MSN Explorer at

View raw message