[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-lib/master] Tweak build file a bit.
commit 2c3e59bb71b8f66109da362148853c932cdf71cb
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Tue Jun 19 14:36:44 2012 +0200
Tweak build file a bit.
---
build.xml | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/build.xml b/build.xml
index 0f2539a..e11d3fd 100644
--- a/build.xml
+++ b/build.xml
@@ -1,12 +1,13 @@
-<project default="run" name="descriptor" basedir=".">
+<project default="jar" name="descriptor" basedir=".">
<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}"/>
- <pathelement location="lib/commons-codec-1.4.jar"/>
- <pathelement location="lib/junit-4.8.2.jar"/>
+ <fileset dir="${libs}">
+ <include name="*.jar"/>
+ </fileset>
</path>
<target name="init">
<mkdir dir="${classes}"/>
@@ -22,9 +23,7 @@
optimize="false"
failonerror="true"
includeantruntime="false">
- <classpath>
- <fileset dir="${libs}"/>
- </classpath>
+ <classpath refid="classpath"/>
</javac>
</target>
<target name="jar" depends="compile">
@@ -41,9 +40,7 @@
optimize="false"
failonerror="true"
includeantruntime="false">
- <classpath>
- <fileset dir="${libs}"/>
- </classpath>
+ <classpath refid="classpath"/>
</javac>
<junit fork="true" haltonfailure="true" printsummary="off">
<classpath refid="classpath"/>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits