[tor-commits] [metrics-db/master] Support building from the submodule

karsten at torproject.org karsten at torproject.org
Thu Aug 22 15:11:32 UTC 2013


commit 5ad88084abec6671403c9fa46d5ce3d43dc93e7b
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Thu Aug 22 16:42:42 2013 +0200

    Support building from the submodule
---
 build.xml |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 4b5c2ff..218d6b5 100644
--- a/build.xml
+++ b/build.xml
@@ -9,12 +9,18 @@
       <include name="commons-codec.jar"/>
       <include name="commons-compress.jar"/>
     </fileset>
+    <fileset dir="deps/metrics-lib">
+      <include name="descriptor.jar"/>
+    </fileset>
   </path>
   <target name="init">
     <mkdir dir="${classes}"/>
     <copy file="config.template" tofile="config"/>
   </target>
-  <target name="compile" depends="init"> 
+  <target name="metrics-lib">
+    <ant dir="deps/metrics-lib"/>
+  </target>
+  <target name="compile" depends="metrics-lib,init">
     <javac srcdir="${sources}"
            destdir="${classes}"
            excludes="org/torproject/ernie/web/"





More information about the tor-commits mailing list