ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Danske <>
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"
      <arg line="/c shutdown.bat"/>
    <exec dir="${appserver.home}\bin"
       <arg line="/c startup.bat"/>

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



Gesendet von Yahoo! Mail -
Ihre E-Mail noch individueller? -

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message