ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <dan...@germane-software.com>
Subject Re: exec task hangs
Date Thu, 31 Jul 2003 22:45:39 GMT
Also, tomcat is distributed with a set of Ant tasks that stop and start 
the server, install apps, reload apps, etc. There are examples of using 
them in the distribution or in the developer docs. They work very well.

Dale


Antoine Levy-Lambert wrote:

>----- Original Message ----- 
>From: <Juraj.Lenharcik@t-systems.com>
>Sent: Thursday, July 31, 2003 9:23 AM
>
>
>  
>
>>I want to start tomcat with this line:
>>
>>        <exec dir="./" executable="${server.start}" output="start.txt">
>>            <arg line="run"/>
>>            <env key="CATALINA_HOME" path="${server.home}"/>
>>        </exec>
>>
>>The task is also executed, but hangs and the build.xml is not proceeded.
>>
>>Have I forgotten something?
>>
>>    
>>
>For ant 1.5.3
>have a look at this posting from Bill Burton :
>http://marc.theaimsgroup.com/?l=ant-user&m=104322316306620&w=2
>
>Otherwise in ant1.6alpha, there is a spawn attribute for the exec task.
>
>Cheers,
>
>Antoine
>
>
>---------------------------------------------------------------------
>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