diff --git a/ReleaseInstructions b/ReleaseInstructions
index 29cc5bf56..7ea282bb9 100644
--- a/ReleaseInstructions
+++ b/ReleaseInstructions
@@ -40,7 +40,7 @@ Note: This document was updated in the context of releasing Ant 1.7.
Label such branches ANT_16_BRANCH.
4. Once the branch is setup, the version numbers in SVN are changed. On the
- branch, the version property in build.xml becomes 1.7Beta.
+ branch, the project.version property in build.xml becomes 1.7Beta.
If there were a main branch, its build.xml would have 1.8alpha.
@@ -51,7 +51,7 @@ Note: This document was updated in the context of releasing Ant 1.7.
the first beta on the 1.7 branch has been called 1.7.0Beta1, ...
- the version property in build.xml governs the output of ant -version and
+ the project.version property in build.xml governs the output of ant -version and
the naming of the distribution files.
Update the following files for version number:
diff --git a/build.xml b/build.xml
index 7b01c1b01..d24ad3aa6 100644
--- a/build.xml
+++ b/build.xml
@@ -32,7 +32,7 @@
-->
-
+
@@ -137,7 +137,7 @@
Set up properties for the distribution area
===================================================================
-->
-
+
@@ -614,11 +614,7 @@
-
-
-
-
-
+
@@ -1009,10 +1005,21 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1202,7 +1209,6 @@
-
@@ -1254,15 +1260,19 @@
-
+
+
+
+
+
+
-
+
-
+
-
@@ -1351,7 +1361,7 @@
- Uploading Ant version ${version}
+ Uploading Ant version ${project.version}
to host ${ssh.host} as ${apache.user}
distribution to ${ssh.dist.directory}
JAR files to ${ssh.jars.directory}
@@ -1379,7 +1389,7 @@
knownhosts="${ssh.knownhosts}"
verbose="${ssh.verbose}" >
-
+
-
+
@@ -1951,7 +1961,7 @@ see ${build.junit.reports} / ${antunit.reports}
xmlns:dn="antlib:org.apache.ant.dotnet">
-
+
diff --git a/src/main/org/apache/tools/ant/defaultManifest.mf b/src/main/org/apache/tools/ant/defaultManifest.mf
index 61fc10db7..fd30a23a8 100644
--- a/src/main/org/apache/tools/ant/defaultManifest.mf
+++ b/src/main/org/apache/tools/ant/defaultManifest.mf
@@ -1,3 +1,4 @@
Manifest-Version: 1.0
-Ant-Version: Apache Ant @VERSION@
+Ant-Version: Apache Ant ${project.version}
+
diff --git a/src/main/org/apache/tools/ant/version.txt b/src/main/org/apache/tools/ant/version.txt
index b6b2f8db9..0496e181f 100644
--- a/src/main/org/apache/tools/ant/version.txt
+++ b/src/main/org/apache/tools/ant/version.txt
@@ -1,2 +1,2 @@
-VERSION=@VERSION@
-DATE=@DATE@
+VERSION=${project.version}
+DATE=${TODAY}