You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Holger Danske <ho...@yahoo.de> on 2001/11/21 10:58:22 UTC
Starting in separate Thread
Hallo Ant-Users.
Following problem.
I want to restart the Tomcat 3.2.1 Server by using his
shutdown.bat and startup.bat.
<target name="restart">
<echo message="${appserver.home}"/>
<exec dir="${appserver.home}/bin"
executable="cmd.exe">
<arg line="/c shutdown.bat"/>
</exec>
<exec dir="${appserver.home}\bin"
executable="cmd.exe">
<arg line="/c startup.bat"/>
</exec>
</target>
It works fine.
The problem is, that the ANT-Thread runs until I stop
the Tomcat Server.
Is there any way to start the server in a serperate
Thread by using the startup.bat
TIA
JD
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>