You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Thai Thanh Ha <th...@psv.com.vn> on 2003/12/06 11:45:29 UTC
Starting JBoss from Ant without blocking
Hi all,
Currently I'm using a build.xml file to start JBoss from Ant. The build.xml
looks like:
....
<exec executable="cmd.exe" spawn="true" dir="${jboss.home}/bin">
<arg value="/C"/>
<arg value="start"/>
<arg value="run.bat"/>
<env key="NOPAUSE" value="YES"/>
</exec>
....
The problem is when I stop JBoss (using Ant), the JBoss window doesn't
disappear. JBoss just exits but the DOS window doesn't disappear. Is there
any way to start JBoss (from Ant) in a separate window and that window will
be closed automatically when JBoss exits? Please help. Thanks.
I'm using Ant 1.6B2 and Windows 2000.
Regards,
Thai
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org