blob: 39688984d77db1ea2a0fc3f8a3dac01348b6cbd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>
|