-----Original Message-----
From: jantje [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2008 8:06 PM
To: user@ant.apache.org
Subject: RE: Continu exec task, while leaving ant
/*
Thanks! The <forget/> -task works now.. f.i.
<forget>
<echo message="test"/>
</forget>
However, when using it with the <exec/> -task, I get no error and it
does
nothing (Is there a way to solve it?) [PS: the echo message is also not
displaying. Still I get the BUILD SUCCESFULL back]:
<forget>
<exec executable="/bin/bash" failonerror="true">
<arg value="-c" />
<arg value="qemu -no-kqemu -m 512 -cdrom
${basedir}/build/liveCd/iso/project.iso;"/>
</exec>
<echo message="test"/>
</forget>
*/
currently on windows here, f.e.
<!-- start Notepad and wait for user input ... -->
<forget>
<exec executable="notepad.exe">
<arg value="c:/notes.txt" />
</exec>
</forget>
works fine.
try =
<exec executable="bash" failonerror="true">
<arg value="-c qemu -no-kqemu -m 512 -cdrom
${basedir}/build/liveCd/iso/project.iso" />
</exec>
or
...
<arg line="-c qemu -no-kqemu -m 512 -cdrom
${basedir}/build/liveCd/iso/project.iso" />
...
means put all on one line with arg value || arg line ...
if that doesn't work either, it's most likely a problem
with user rights
Is the bash your login shell ?
Did you try the exec a shell ?
Regards, Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]