hello again,
I'm using antcontrib and I'm trying to setup the location of its lib in a custom location say /home/lxu/lib/ant-contrib.jar, so in my build.xml I define...
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="/home/lxu/lib/ant-contrib.jar"/>
</classpath>
</taskdef>
This works fine. Now, I'm trying to name the location path into a build.properties file say
antcontrib.lib=/home/lxu/lib
so in my build.xml I have
<property file="build.properties" />
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${antcontrib.lib}/ant-contrib.jar"/>
</classpath>
</taskdef>
as soon as I did that, I'm getting "could not create task or type of type:foreach.
Ant could not find the task or a class this task relies upon"
please help. thanks.