Something like :
<path id="ivy.antlib.path.id">
<fileset dir="${build.script.dir}/lib">
<include name="ivy-*.jar"/>
</fileset>
</path>
<typedef resource="fr/jayasoft/ivy/ant/antlib.xml"
uri="fr.jayasoft.ivy.ant" classpathref="ivy.antlib.path.id"/>
If you are using subant, I also advise you use the loaderref (I'm not sure
of the name) attribute of typedef to avoid to reload ivy in a new
classloader in every subant.
Gilles
> -----Original Message-----
> From: smu [mailto:[EMAIL PROTECTED]
> Sent: lundi 23 avril 2007 15:53
> To: [email protected]
> Subject: ivy.jar and ant
>
>
> Hi,
>
> How could I configure build.xml that I could use ivy.jar from my local
> lib,
> not ant/lib? There is something mentioned in documentation:
> http://www.jaya.free.fr/ivy/doc/ant.html, but thank link
> http://www.jaya.free.fr/node/233.html doesn't work. I don't want to force
> everybody to copy ivy.jar file to ant directory.
>
> Thanks,
> Saulius
> --
> View this message in context: http://www.nabble.com/ivy.jar-and-ant-
> tf3631671.html#a10140580
> Sent from the ivy-user mailing list archive at Nabble.com.