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/

And have added this to build.xml:
      <taskdef resource="net/sf/antcontrib/antlib.xml"/>

So, no trying to use the forget task:
      <target name="emulateProjectIso" depends="license, testIsoExists"
description="Emulate the project iso" unless="file.exists">
        <forget>
          <exec executable="/bin/bash" failonerror="true">
            <arg value="-c" />
            <arg value="qemu -no-kqemu -m 512 -cdrom
${basedir}/build/liveCd/iso/project-r*.iso;"/>
          </exec>
       </forget>
      </target>

But got the error:
      /home/afstudeerwerk/project/build.xml:225: Problem: failed to create
task or type For
      Cause: The name is undefined.
      Action: Check the spelling.
      Action: Check that any custom tasks/types have been declared.
      Action: Check that any <presetdef>/<macrodef> declarations have taken
place.


It is hard to install this. Can someone help? Thanks..










Gilbert Rebhan wrote:
> 
> jantje schrieb:
>>> Hi there, is it possible to start (in ant) something in a shell and let
>>> this
>>> running, while stopping ant. f.i:
> 
> with antcontrib <forget> ... you may kick off
> a new process, see =
> 
> http://ant-contrib.sourceforge.net/tasks/tasks/forget.html
> 
> 
> 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-tp18315876p18371932.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