ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Continu exec task, while leaving ant
Date Fri, 11 Jul 2008 11:23:27 GMT

-----Original Message-----
From: jantje [] 
Sent: Friday, July 11, 2008 10:09 AM
Subject: RE: Continu exec task, while leaving ant


I have tryes all your options: nothing worked. And yes, bash is my login
shell.. Other exec commands work, f.i. starting apache-tomcat.. And the
with "-c qemu..." does work, so no problem with rights I think..

Are we missing something?

Try  to run  the antscript with root account or
maybe with <exec  arg ... sudo>

Did you try the apache-tomcat call within <exec>  ?

What about catching the output f.e.

<exec executable="bash" failonerror="true" 
 outputproperty="result" resultproperty="rc.ant">
 <arg value="ant -diagnostics" />

<arg value="du -hs /tmp" />

Use outputproperty and resultproperty with your call and tell
us what comes back, we need the output and RC

As you're already using antcontrib you may use the
<shellscript> task, but under the hood it's nearly the
same, means if your command doesn't work with <exec>
it won't work with <shellscript> either.

Regards, Gilbert

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

View raw message