give a chance to put ivy somewhere else than in ant libs

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Xavier Hanin 2005-12-29 10:19:26 +00:00
parent 69f8b7008c
commit a14f45fed3
2 changed files with 12 additions and 1 deletions

View File

@ -10,4 +10,5 @@ javadoc.build.dir=build/doc/api
ivy.minimum.javaversion=1.4
debug.mode=on
ivy.jar.dir=.

View File

@ -1,6 +1,16 @@
<project name="ivy" default="test" xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
<property file="build.properties"/>
<!-- try to load ivy here from local lib dir, in case the user has not already dropped
it into ant's lib dir (note that the latter copy will always take precedence).
We will not fail as long as local lib dir exists (it may be empty) and
ivy is in at least one of ant's lib dir or the local lib dir. -->
<path id="ivy.lib.path">
<fileset dir="${ivy.jar.dir}" includes="*.jar"/>
</path>
<taskdef resource="fr/jayasoft/ivy/ant/antlib.xml"
uri="antlib:fr.jayasoft.ivy.ant" classpathref="ivy.lib.path"/>
<target name="prepare">
<mkdir dir="${classes.build.dir}"/>
<mkdir dir="${test.build.dir}"/>