ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject RE: Assign new value to an existing property
Date Fri, 30 Apr 2004 13:57:59 GMT
--- "Daniels, Doug" <> wrote:
> To use the ant-contrib tasks download the
> ant-contrib jar, then in your build file place this
> <taskdef> at the top:
> <taskdef
> resource="net/sf/antcontrib/">
>   <classpath>
>     <pathelement
> location="/usr/share/java/lib/ant-contrib-0.3.jar"/>
>   </classpath>
> </taskdef>
> With the location pointing to where you downloaded
> your jar of course.

If you are able to add the ant-contrib jar to
ANT_HOME/lib, then firstly, you don't need the nested
<classpath> in the <taskdef> above. Also, with later
ant-contrib distributions, there are other options,
including any of the various <antlib> loading
possibilities.  See the manual for examples which
include the use of ant-contrib in particular.


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message