Author: rwhitcomb
Date: Mon Jun 18 14:46:53 2018
New Revision: 1833728

URL: http://svn.apache.org/viewvc?rev=1833728&view=rev
Log:
PIVOT-1035:  Implement an internal build number mechanism using Ant's
"<buildnumber/>" task.

Modified:
    pivot/trunk/build.xml

Modified: pivot/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/pivot/trunk/build.xml?rev=1833728&r1=1833727&r2=1833728&view=diff
==============================================================================
--- pivot/trunk/build.xml (original)
+++ pivot/trunk/build.xml Mon Jun 18 14:46:53 2018
@@ -52,6 +52,7 @@ limitations under the License.
     <!-- Dynamic properties -->
     <property file="build.properties"/>
     <property name="release" value="apache-${ant.project.name}-${version}"/>
+    <buildnumber/>
     <!-- Compiler properties and Test properties have been moved in 
build.properties -->
 
     <!-- Jar file names -->
@@ -225,7 +226,7 @@ limitations under the License.
                     <attribute name="Implementation-Vendor-Id" 
value="org.apache"/>
                     <attribute name="Implementation-Vendor" value="The Apache 
Software Foundation"/>
                     <attribute name="Implementation-Title" value="Apache Pivot 
@{title}"/>
-                    <attribute name="Implementation-Version" 
value="${version}"/>
+                    <attribute name="Implementation-Version" 
value="${version}_${build.number}"/>
                     <attribute name="Permissions" value="${permissions}"/>
                     <attribute name="Codebase" value="*"/>
                     <attribute name="Caller-Allowable-Codebase" value="*"/>
@@ -270,7 +271,7 @@ limitations under the License.
                     <attribute name="Implementation-Vendor-Id" 
value="org.apache"/>
                     <attribute name="Implementation-Vendor" value="The Apache 
Software Foundation"/>
                     <attribute name="Implementation-Title" value="Apache Pivot 
@{title}"/>
-                    <attribute name="Implementation-Version" 
value="${version}"/>
+                    <attribute name="Implementation-Version" 
value="${version}_${build.number}"/>
                     <attribute name="Permissions" value="${permissions}"/>
                     <attribute name="Codebase" value="*"/>
                     <attribute name="Caller-Allowable-Codebase" value="*"/>


Reply via email to