ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject RE: ivy.jar and ant
Date Mon, 23 Apr 2007 14:10:24 GMT
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:saulius.sinkunas@delfi.lt]
> Sent: lundi 23 avril 2007 15:53
> To: ivy-user@incubator.apache.org
> 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.


Mime
View raw message