ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: properties handling problem
Date Thu, 03 Aug 2006 10:27:02 GMT
 
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: heisch@yawido.de [mailto:heisch@yawido.de] 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message