[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 5ad88084abec6671403c9fa46d5ce3d43dc93e7b
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
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/"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits