summaryrefslogtreecommitdiffstats
path: root/test/antunit/common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/antunit/common.xml')
-rw-r--r--test/antunit/common.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/antunit/common.xml b/test/antunit/common.xml
new file mode 100644
index 0000000..3968898
--- /dev/null
+++ b/test/antunit/common.xml
@@ -0,0 +1,37 @@
+<project name="common"
+ xmlns:au="antlib:org.apache.ant.antunit"
+ xmlns:antcontrib="antlib:net.sf.antcontrib"
+ xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
+
+ <target name="setUp">
+ <dirname property="common.dir" file="${ant.file.common}" />
+ <property name="root.dir" location="${common.dir}/../../" />
+ <path id="ivy.lib.path">
+ <fileset dir="${root.dir}/lib/ivy/jars" includes="ivy-1.3.1.jar"/>
+ <fileset dir="${root.dir}/lib/commons-cli/jars" includes="commons-cli-1.0.jar"/>
+ <fileset dir="${root.dir}/lib/commons-codec/jars" includes="commons-codec-1.3.jar"/>
+ <fileset dir="${root.dir}/lib/commons-httpclient/jars" includes="commons-httpclient-3.0.1.jar"/>
+ <fileset dir="${root.dir}/lib/commons-logging/jars" includes="commons-logging-1.0.4.jar"/>
+ <fileset dir="${root.dir}/lib/oro/jars" includes="oro-2.0.8.jar"/>
+ </path>
+
+ <taskdef resource="fr/jayasoft/ivy/ant/antlib.xml"
+ uri="antlib:fr.jayasoft.ivy.ant"
+ classpathref="ivy.lib.path"/>
+
+ <ivy:configure file="${root.dir}/ivy-conf.xml" />
+ <ivy:resolve file="${root.dir}/ivy.xml" />
+ <ivy:cachepath pathid="test.classpath" type="jar" conf="test" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml"
+ uri="antlib:net.sf.antcontrib">
+ <classpath>
+ <pathelement location="${root.dir}/target/classes" />
+ <path refid="test.classpath" />
+ </classpath>
+ </taskdef>
+ </target>
+
+ <target name="tearDown">
+ </target>
+
+</project> \ No newline at end of file