Use the uri attribute of (type/task)def, for example: <typedef uri="antlib:net.sf.antcontrib" resource="net/sf/antcontrib/antlib.xml"> <classpath> <fileset dir="${basedir}/lib/ant/ant-contrib" includes="*.jar"/> </classpath> </typedef>
<ac:for xmlns:ac="antlib:net.sf.antcontrib" param="p" list="a,b,c"> <sequential> <echo>p is @{p}</echo> </sequential> In ant 1.7.0, one can drop the resource, for example: <typedef uri="antlib:net.sf.antcontrib" classpath="/app/java/ant-contrib/ant-contrib-1.0b3.jar"/> peter ==================================== Thank you once again, Peter. Would it be beneficial to specify xmlns:ac="antlib:net.sf.antcontrib" only once, somewhere @ the beginning vs. at every reference of antcontrib task? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]