1 <property name="debuglevel" value="source,lines,vars"/>
3 <property name="target" value="1.6"/>
4 <property name="source" value="1.6"/>
6 <property name="lib.dir" value="../lib"/>
8 <property name="ivy.install.version" value="2.0.0"/>
9 <available file="${lib.dir}/ivy.jar" property="ivy.available"/>
10 <target name="download-ivy" unless="ivy.available">
11 <!-- download Ivy from web site so that it can be used even without any special installation -->
12 <echo message="installing ivy..."/>
13 <mkdir dir="${lib.dir}"/>
14 <get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
15 dest="${lib.dir}/ivy.jar" usetimestamp="true"/>
18 <target name="install-ivy" depends="download-ivy">
19 <path id="ivy.lib.path">
20 <fileset dir="${lib.dir}" includes="*.jar"/>
22 <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
25 <target name="resolve" depends="install-ivy">
26 <ivy:settings file="../ivysettings.xml" />
27 <ivy:retrieve pattern="${lib.dir}/[artifact].[ext]" />
30 <target depends="build-subprojects,build-project" name="build"/>