Hi,

the <for> task is working with antcontrib 1.0b2 as i use it all the time
:-)

but you have to import the tasks the new way (since ant 1.6)

<!-- Import AntContrib -->
<taskdef resource="net/sf/antcontrib/antlib.xml" />


the for task is commented out in 
net\sf\antcontrib\antcontrib.properties as you see below

...
antserver=net.sf.antcontrib.antserver.server.ServerTask
remoteant=net.sf.antcontrib.antserver.client.ClientTask

# Tasks Requiring Ant 1.6 or higher
#for=net.sf.antcontrib.logic.For
math=net.sf.antcontrib.math.MathTask 


Regards, Gilbert

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 03, 2006 12:16 PM
To: user@ant.apache.org
Subject: RE: properties handling problem

Hi,

both tasks, <foreach> and <for> only works with ant-contrib 0.6 - i
suppose...
1.0b2 is without the for-task...


        <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>

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

Reply via email to