ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franz-Josef Herpers <>
Subject Continuing build after executing a external program
Date Wed, 25 Feb 2004 09:46:11 GMT

I start Tomcat 5.0.19 from my build.xml with the <exec>-task:

   <target name="start.tomcat">

     <exec executable="${tomcat.home}/bin/startup.bat" os="Windows 2000">
       <env key="CATALINA_HOME" value="${tomcat.home}"/>

     <exec executable="${tomcat.home}/bin/startup.bat" os="Windows XP">
       <env key="CATALINA_HOME" value="${tomcat.home}"/>

     <exec executable="${tomcat.home}/bin/" os="Linux">
       <env key="CATALINA_HOME" value="${tomcat.home}"/>


This works fine, but it remains a little problem. The build process 
hangs, unless i stop Tomcat. But I have to do some work after tomcat is 
started. How can I continue the build process after starting Tomcat?


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

View raw message