[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-base/master] Create a build revision containing properties file.
commit 6f9698a4f6a87824aa7c24082e0b13e249fb6449
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
Date: Mon Jul 3 09:15:19 2017 +0000
Create a build revision containing properties file.
Implements part of task-21414 by providing this file and addinng it to the jar.
---
java/base.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/java/base.xml b/java/base.xml
index 1fc33cf..bfd19f8 100644
--- a/java/base.xml
+++ b/java/base.xml
@@ -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}" />
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits