ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jantje <janvanop...@skynet.be>
Subject RE: Continu exec task, while leaving ant
Date Fri, 11 Jul 2008 08:08:55 GMT

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?








Rebhan, Gilbert wrote:
> 
>  
> 
> 
> -----Original Message-----
> From: jantje [mailto:janvanoppen@skynet.be] 
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

-- 
View this message in context: http://www.nabble.com/Continu-exec-task%2C-while-leaving-ant-tp18315876p18398763.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message