You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Erik Hatcher <er...@earthlink.net> on 2001/09/01 15:54:55 UTC

Re: Extracting Version

Ironically I just a second ago provided an example of this very thing on a
related topic.     Look back at the message with the subject "wildcards in
replace task".

Our build process involves using the <propertyfile> task to build a property
file at run-time with all of the build details, and the build version gets
set as the CVS tag used to build the deployment WAR file.   The versioning
scheme may need some refactoring, but in general we'll at least know the tag
used so that a build can be replicated precisely.

    Erik


----- Original Message -----
From: "Sachin Shah" <Sa...@kaleconsultants.com>
To: <an...@jakarta.apache.org>
Sent: Thursday, August 30, 2001 10:36 PM
Subject: Extracting Version


> Hi,
>
> I have an application developed i want to incorporate the version and
build
> information within the application such that everytime i release the
> application i can get the exact version and build information. does any
one
> has idea how to implement this. Is this possible using ant. if yes can
> anyone has code to do the same.
>
> Thanks in advance
> Sachin
>