Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Attempting to install ant-contrib in my project folder.

Attempting to install ant-contrib in my project folder.

2007-05-08       - By George Storm
Reply:     1     2  

I am attempting to use ant-contrib

I am referencing <http://ant-contrib.sourceforge.net/>

I am using the second installation method where I have placed the
ant-contrib.jar file in a folder within my project.

ant-contrib.jar was renamed to remove the version number.

I have placed the following in my build.xml.

   <taskdef resource = "net/sf/antcontrib/antcontrib.properties">
       <classpath>
           <pathelement location =
"${dir.root}/import/ant-contrib/all/Release/lib/ant-contrib.jar"/>
       </classpath>
   </taskdef>

The path to my ant-contrib.jar file appears to be correct and when I echo
the path it matches.

I also tried:
   <taskdef resource = "net/sf/antcontrib/antlib.xml">

I am getting the following error:
[taskdef] Could not load definitions from resource
net/sf/antcontrib/antcontrib.properties. It could not be found.

Any hints?

Thanks, George Lawrence Storm, DivX, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.