[tor-commits] [metrics-lib/master] Fix build errors on Debian systems.

karsten at torproject.org karsten at torproject.org
Wed Jul 31 14:44:31 UTC 2013


commit 3e60ccdaaba598cabb7281d45f9a415299b8e3e3
Author: Jens-Michael Hoffmann <jmho at jmho.de>
Date:   Wed Jul 31 16:10:27 2013 +0200

    Fix build errors on Debian systems.
    
    The local lib directory is not used anymore and respective references
    were removed. The java dependencies are now specified in the build.xml
    and taken from their installed locations.
    
    In addition to git, openjdk-6-jdk and ant the following java packages
    have to be installed:
     - libcommons-codec-java
     - libcommons-compress-java
     - junit4
    
    Minor tweaks by Karsten Loesing.
---
 build.xml |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/build.xml b/build.xml
index e11d3fd..c1200fe 100644
--- a/build.xml
+++ b/build.xml
@@ -2,11 +2,12 @@
   <property name="sources" value="src"/>
   <property name="classes" value="classes"/>
   <property name="tests" value="test"/>
-  <property name="libs" value="lib"/>
   <path id="classpath">
     <pathelement path="${classes}"/>
-    <fileset dir="${libs}">
-      <include name="*.jar"/>
+    <fileset dir="/usr/share/java">
+      <include name="commons-codec.jar"/>
+      <include name="commons-compress.jar"/>
+      <include name="junit4.jar"/>
     </fileset>
   </path>
   <target name="init">



More information about the tor-commits mailing list