mirror of
https://github.com/torproject/metrics-base.git
synced 2025-02-17 08:09:13 +00:00
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:
parent
a64b94a635
commit
6f9698a4f6
@ -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}" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user