Create a build revision containing properties file.

Implements part of task-21414 by providing this file and addinng it to the jar.
This commit is contained in:
iwakeh 2017-07-03 09:15:19 +00:00
parent a64b94a635
commit 6f9698a4f6

View File

@ -233,6 +233,10 @@
</patternset>
<patternset id="empty" excludes="*"/>
<target name="jar" depends="compile,docs,gitrev" >
<propertyfile file="${classes}/build.properties" >
<entry key="build.revision"
value="${git.revision}" />
</propertyfile>
<property name="manifestattributes" value="${generated}/additional" />
<manifest file="${manifestattributes}" >
<attribute name="Main-Class" value="${project-main-class}" />