ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <>
Subject Re: where to download the latest ant-contrib-1.0b3.jar
Date Thu, 15 Apr 2010 23:11:57 GMT
First, did you download this package?:

The ones on the top are only for the cpp tasks. I don't know why it's not
obvious which one you're suppose to download.

You're suppose to have a file called "ant-contrib-1.0b3.jar". You need to
put this JAR in the "lib" directory under where you have Ant installed.

If you've done that, you need this line:

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

You don't need the "libpath" parameter because the ant-contrib JAR is in the
lib folder of your Ant installation.

If you can't install the jarfile in your Ant's lib folder, then install it
in a folder called "lib" under the directory where your build.xml is
located. Then try this:

<classpath id="contrib.classpath.ref">
    <fileset dir="${basedir}/lib"/>

<taskdef resource="net/sf/antcontrib/"

That will allow Ant to find the ant-contrib JAR file.

David Weintraub

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message