tags:

views:

2504

answers:

2

Prelude: Ant-Contrib provides a very well explained wiki page for installation and launch ([http://ant-contrib.sourceforge.net/#install][1]).

Indeed, only two steps is necessary: - build ant-contrib-0.3.jar (by ant dist...), - move the built .jat into the lib directory of your Ant installation,

Use it by writing in your own project:

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

My problem: I succeeded to build the .jar (build successful is written). But I cannot find any "antcontrib.properties" in the jat built!

Request: What is the important thing I have forgotten? Is it better to search any ant-contrib-0.3.jar already built? Thanks

+1  A: 

If you download this file http://www.java2s.com/Code/JarDownload/ant-contrib-0.6.jar.zip, there's a antcontrib.properties contained. So maybe the installation instructions or the ant build file is out of date. Have you tried to use Maven for building the Ant-Contrib?

Mork0075
works wellfirst time I use an instruction "for"It's moving
TaintedLove
+1  A: 

Here's the place you can find binary ant-contrib distributions: http://sourceforge.net/project/showfiles.php?group_id=36177&amp;package_id=28636

wheleph
Very interesting place, thanks a lot.
TaintedLove