diff options
author | Sven Gothel <[email protected]> | 2010-11-10 06:10:07 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-10 06:10:07 +0100 |
commit | 92e1e8b24d128e08f13b05bd630ad7b0bf1cbf9f (patch) | |
tree | 75edcee8cb2fc4d1a14a16ee8c87066c4d4469bd /make/build.xml | |
parent | 144be6392afbe3b1ddd4afe071bf738e6f134248 (diff) |
Adding SCM_BRANCH, gluegen.build.branch info
Diffstat (limited to 'make/build.xml')
-rwxr-xr-x | make/build.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 35c3d6b..64be75d 100755 --- a/make/build.xml +++ b/make/build.xml @@ -54,6 +54,7 @@ <property file="${build}/artifact.properties"/> <property name="gluegen.build.number" value="manual"/> <property name="gluegen.build.id" value="${version.timestamp}"/> + <property name="gluegen.build.branch" value="master"/> <property name="gluegen.build.commit" value="manual"/> <!-- This is the version of GlueGen you are building --> @@ -607,6 +608,7 @@ overwrite="true"> <filterset> <filter token="VERSION" value="${gluegen.version}"/> + <filter token="SCM_BRANCH" value="${gluegen.build.branch}"/> <filter token="SCM_COMMIT" value="${gluegen.build.commit}"/> <filter token="BASEVERSION" value="${gluegen_base_version}"/> </filterset> @@ -624,6 +626,7 @@ overwrite="true"> <filterset> <filter token="VERSION" value="${gluegen.version}"/> + <filter token="SCM_BRANCH" value="${gluegen.build.branch}"/> <filter token="SCM_COMMIT" value="${gluegen.build.commit}"/> <filter token="BASEVERSION" value="${gluegen_base_version}"/> </filterset> @@ -634,6 +637,7 @@ overwrite="true"> <filterset> <filter token="VERSION" value="${gluegen.version}"/> + <filter token="SCM_BRANCH" value="${gluegen.build.branch}"/> <filter token="SCM_COMMIT" value="${gluegen.build.commit}"/> <filter token="BASEVERSION" value="${gluegen_base_version}"/> </filterset> @@ -699,6 +703,7 @@ <target name="tag.build" depends="init"> <echo message='gluegen.build.number=${gluegen.build.number}${line.separator}' file="${build}/artifact.properties"/> <echo message='gluegen.build.id=${gluegen.build.id}${line.separator}' file="${build}/artifact.properties" append="true"/> + <echo message='gluegen.build.branch=${gluegen.build.branch}${line.separator}' file="${build}/artifact.properties" append="true"/> <echo message='gluegen.build.commit=${gluegen.build.commit}${line.separator}' file="${build}/artifact.properties" append="true"/> </target> |