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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to