ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: Assign new value to an existing property
Date Fri, 30 Apr 2004 13:57:59 GMT
--- "Daniels, Doug" <Doug.Daniels@gdc4s.com> wrote:
[SNIP]
> 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/antcontrib.properties">
>   <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.
[SNIP]

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.

-Matt


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message