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 Wed, 09 Jul 2008 22:06:22 GMT

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: 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-tp18315876p18371932.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