You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lester Ward <lw...@tagaudit.com> on 2004/05/20 17:05:52 UTC

RE: How to increment a number using Jelly tag

> I need to generate the build number to tag the projects. I am 
> not able to use <ant:buildnumber. I want to have the build 
> number in a property file, retrieve it, increment it and write 
> it back to the property file. Does maven have any jelly tags 
> which can be used for this?

I am curious why you need to do this. Doesn't buildnumber set a property
(build.number) for you? Why not just use it?

If you really need to mess with properties file, the PropertyFile optional
task(http://ant.apache.org/manual/OptionalTasks/propertyfile.html) may help
you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org