Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 788 Bytes
<?xml version="1.0"?>
<project name="ivy-install" default="install.ivy" basedir=".">
<!--ivy:settings file="${basedir}/ivysettings.xml"/-->
<property name="ivy.home" value="${user.home}/.ant" />
<property name="ivy.install.version" value="2.1.0-rc2" />
<property name="ivy.jar.dir" value="${ivy.home}/lib" />
<property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" />
<target name="install.ivy" unless="offline" description="downloads ivy for first time use">
<mkdir dir="${ivy.jar.dir}" />
<!-- download Ivy from web site so that it can be used even without any special installation -->
<get src="${ivy.install.version}/ivy-${ivy.install.version}.jar" dest="${ivy.jar.file}" usetimestamp="true" />