ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob van Oostrum" <li...@springwellfarms.ca>
Subject RE: Determining the version of ant used...
Date Fri, 19 Sep 2003 20:44:43 GMT
use the ant.version property to switch between the two ... and use
ant-contrib to handle the if/else

> -----Original Message-----
> From: Ciramella, EJ [mailto:ECiramella@emptoris.com]
> Sent: September 19, 2003 4:34 PM
> To: 'Ant Users List'
> Subject: Determining the version of ant used...
>
>
> Just wondering, I want to add a little functionality to my build script to
> take advantage of the update="true" feature built into the war/ear/jar/zip
> task.  I realize there were issues with this feature in the 151 version of
> ANT.  The build machines, are using ANT 153, I want to test if the user is
> running 151, use a target that does not do the update.  But if they are
> using 153, go ahead and use the update feature.
>
> Any suggestions?
>


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


Mime
View raw message