ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Danske <holgerdansk...@yahoo.de>
Subject Starting <exec> in separate Thread
Date Wed, 21 Nov 2001 09:58:22 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message