[tor-commits] [metrics-lib/master] Include resources in tarball.

karsten at torproject.org karsten at torproject.org
Mon Aug 22 08:39:25 UTC 2016


commit 2ef622a0d36459fb16116c3d0b247a9bdd02ab2f
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Thu Aug 11 11:48:18 2016 +0200

    Include resources in tarball.
    
    Implements #19893.
---
 build.xml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index e581578..bb48dde 100644
--- a/build.xml
+++ b/build.xml
@@ -1,5 +1,6 @@
 <project default="jar" name="descriptor" basedir=".">
   <property name="release.version" value="1.3.1-dev" />
+  <property name="allsources" value="src"/>
   <property name="sources" value="src/main/java"/>
   <property name="resources" value="src/main/resources"/>
   <property name="generated" value="generated/"/>
@@ -244,10 +245,8 @@
         <include name="CERT" />
         <include name="*.md" />
       </tarfileset>
-      <tarfileset dir="${sources}"
-                  prefix="descriptor-${release.version}/${sources}" />
-      <tarfileset dir="${tests}"
-                  prefix="descriptor-${release.version}/${tests}" />
+      <tarfileset dir="${allsources}"
+                  prefix="descriptor-${release.version}/${allsources}" />
       <tarfileset dir="${libs}"
                   prefix="descriptor-${release.version}/${libs}" />
     </tar>



More information about the tor-commits mailing list