ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi" <koji.sekigu...@bluemartini.com>
Subject RE: Continuing build after executing a external program
Date Thu, 26 Feb 2004 01:05:56 GMT
Using spawn attribute with exec task may work for you.

Koji

> -----Original Message-----
> From: Franz-Josef Herpers [mailto:fjhPost@netscape.net]
> Sent: Wednesday, February 25, 2004 6:46 PM
> To: user@ant.apache.org
> Subject: Continuing build after executing a external program
> 
> 
> Hi,
> 
> 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>
> 
>      <exec executable="${tomcat.home}/bin/startup.bat" os="Windows XP">
>        <env key="CATALINA_HOME" value="${tomcat.home}"/>
>      </exec>
> 
>      <exec executable="${tomcat.home}/bin/startup.sh" os="Linux">
>        <env key="CATALINA_HOME" value="${tomcat.home}"/>
>      </exec>
> 
> 
>    </target>
> 
> 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?
> 
> Regards
> Franz
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message