velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <cla...@renegat.net>
Subject Re: How to check Velocity version?
Date Mon, 02 Jun 2008 14:28:00 GMT
You would typically check for the presence of a class that has been
added since 1.5 - the typical getVersion() stuff hasn't been put yet in
Velocity.


  Claude

Le vendredi 23 mai 2008 à 14:07 +0100, sebb a écrit :
> How can one check the Velocity version from an Ant script?
> 
> I had a problem with Anakia generating the wrong line endings on
> Linux; turned out it was due to Ant picking up the wrong version of
> the Velocity jar.
> 
> It would be useful if one could check the version and report an error
> if the version is earlier than  1.5 (say).
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
> 


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


Mime
View raw message