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>









Rebhan, Gilbert wrote:
> 
>  
> 
> 
> -----Original Message-----
> From: jantje [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 10, 2008 12:06 AM
> To: user@ant.apache.org
> Subject: Re: Continu exec task, while leaving ant
> 
> /*
> Thanks.
> 
> But I have problems installing ant-contrib, from the website:
>       grab the ant-contrib module from CVS
> 
> There is no CVS, when clicking on it. Then I have found
> "ant-contrib-0.3.jar" this somewhere on the internet. I have placed this
> in
> /usr/local/apache-ant/lib/
> 
> [ ... ]
> 
> */
> 
> Gotcha :-)
> Wrong version, 0.3 is rather old, but still mentioned on the ant contrib
> site.
> 
> /*
> Copyright (c) 2002-2003 Ant-Contrib Project. All rights Reserved.
> */
> 
> no comment ;-)
> 
> 
> Grab version 1.0b2 or 1.0b3 from [1] and use the antlib.xml, like
> that =
> 
> when antcontrib.jar in %ANT_HOME%/lib
> 
> <!-- Import AntContrib -->
> <taskdef resource="net/sf/antcontrib/antlib.xml" />
> 
> or located elsewhere
> 
> <!-- Import AntContrib -->
> <taskdef resource="net/sf/antcontrib/antlib.xml">
>   <classpath path=path/to/elsewhere/antcontrib.jar"/>
> </taskdef>
> 
> [1] = http://sourceforge.net/project/showfiles.php?group_id=36177
> 
> 
> Regards, Gilbert
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to