ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject Re: How do you version jar files?
Date Thu, 15 Nov 2001 20:03:44 GMT
Add a key/value to the manifest file
Then the manifest file needs to be run, as opposed to a new class for
spitting out the version number.

You could use the find and replace ant task to modify the manifest file
locally for the current build version.



----- Original Message -----
From: "Scott Moore" <Scott.Moore@netDecide.com>
To: "Ant User (E-mail)" <ant-user@jakarta.apache.org>
Sent: Thursday, November 15, 2001 12:43 PM
Subject: How do you version jar files?


> Hi All,
>
> I would like to solicit people's opinion's on the best way to version our
> Jar files so our deployment people can easily find out the version and
build
> number.  I've seen some jar files include a Version class that when run,
> spits out the version number to stdout.  Is this the best way do to that?
>
> If so, I would like to have Ant increment and update the build number in
the
> Version.java code.  Looking thru the Ant docs, I see there is a file
search
> and replace text capability, but I didn't see a way to increment a build
> number.  Do I need to write a new Ant task to do this operation?
>
> Thanks for any input!
>
> Scott
>


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


Mime
View raw message