git-svn-id: https://stereo.googlecode.com/svn/trunk@466 c67ee986-0855-0410-825f-15918...
[stereo.git] / common.xml
blobdf111157d645122a688dbbf5d1704c04d66163ce
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"/>
16 </target>
18 <target name="install-ivy" depends="download-ivy">
19   <path id="ivy.lib.path">
20     <fileset dir="${lib.dir}" includes="*.jar"/>
21   </path>
22   <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
23 </target>
25 <target name="resolve" depends="install-ivy">
26   <ivy:settings file="../ivysettings.xml" />
27   <ivy:retrieve pattern="${lib.dir}/[artifact].[ext]" />
28 </target>
30 <target depends="build-subprojects,build-project" name="build"/>