Minor cleanup; call version.isdeveloper new version.isbeta since

beta is a more widely used term; add comments for where to
put new project submission ant calls


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
curcuru 2002-01-11 16:28:06 +00:00
parent 13cd3edeeb
commit e80fdc77a2

View File

@ -7,21 +7,27 @@ just creates a distribution out of all of them.
-->
<project name="xml-commons" default="all">
<!-- Allow properties following these statements to be overridden -->
<property file="build.properties"/>
<!-- Name and version information -->
<!-- Versions like Xalan builds: major.minor [(isdeveloper release) | release] -->
<!-- Version flow:
1.0D01, 1.0D02, ... 1.0, (oops, fix old bug in 1.0): 1.0.1
1.1D01, ... 1.1
<!-- Versions similar to Xalan builds: major.minor [isbeta release | release]
Version flow:
Beta builds leading up to 1.0 gold: 1.0.b1, 1.0.b2, ...
Decide on a gold build: 1.0
Beta builds leading up to a 1.1 point release with new features: 1.1.b1, ...
Decide on a gold build: 1.1
Ooops! Bugfix needed to 1.0 build: fork, then release 1.0.1
etc.
version.isbeta is 'b' for beta releases leading up to
a major release; it's blank for gold builds and for
any later point releases that fork from a previous gold.
-->
<property name="version.major" value="1"/>
<property name="version.minor" value="0"/>
<property name="version.isdeveloper" value="D"/><!-- values: 'D'|'' -->
<property name="version.isbeta" value="b"/><!-- values: 'b'|'' -->
<property name="version.release" value="1"/>
<property name="version" value="${version.major}.${version.minor}.${version.isdeveloper}${version.release}" />
<!-- Allow properties following these statements to be overridden -->
<property file="build.properties"/>
<property name="version" value="${version.major}.${version.minor}.${version.isbeta}${version.release}" />
<!-- Location of the system's temporary directory; all output sent here -->
<property name="tmp.dir" value="."/>
@ -47,6 +53,10 @@ just creates a distribution out of all of them.
description="Calls all other java build files.">
<ant dir="java" antfile="which.xml" target="all" >
</ant>
<!-- Add in future contributions, like entity resolver, to 'jars' and 'clean' targets
<ant dir="java" antfile="resolver.xml" target="all" >
</ant>
-->
</target>
<target name="dist"
@ -87,6 +97,10 @@ just creates a distribution out of all of them.
</ant>
<ant dir="java" antfile="which.xml" target="clean" >
</ant>
<!-- Add in future contributions, like entity resolver, to 'jars' and 'clean' targets
<ant dir="java" antfile="resolver.xml" target="clean" >
</ant>
-->
</target>
</project>