You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stephen Oostenbrink <st...@hotmail.com> on 2001/09/08 14:42:36 UTC

BuildInfo Task - CORRECTION

CORRECTION

major build number --> major release number
minor build number --> minor release number

----

Hi,

I have created a task that creates a release version using a property files
as its input.

The release version has the following format:


         <release number>_<build number>_[date stamp]

- release number: Is the release number for this version of the application.
This number is formatted in the form X_Y_Z, where X is the major release
number, Y the minor release number and Z the patch number.
- build number: Is the number of builds that have been performed for the
current release. This number is increased after each call to the task.
- date stamp: optionally a date stamp can be added to the release version.

 This release version can be used to name a release package so that it is
easily identified (example: my_app_1_0_0_35.zip). If required the property
file can be added to the applications jar file. Using a utility class this
information can be displayed and used by customers to indicate what version
/ build of an application they are using

Each time this task is called the build number is increased and the new
build number, build platform and the build date is written back to the
property file.

I would like to submit this task and the example utility class, that
displays the build information, as an enhancement. Does anyone think this
could be a handy enhancement? And if so how do I go about submitting it?

 - Stephen