-----Original Message-----
From: jantje [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2008 10:09 AM
To: user@ant.apache.org
Subject: RE: Continu exec task, while leaving ant
/*
Thanks..
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
line
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" />
</exec>
or
...
<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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]