You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by smu <sa...@delfi.lt> on 2007/04/23 15:52:45 UTC
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.
Re: ivy.jar and ant
Posted by Xavier Hanin <xa...@gmail.com>.
On 4/23/07, smu <sa...@delfi.lt> wrote:
>
>
> Hi,
>
> You sould better use the documentation @ apache:
> http://incubator.apache.org/ivy/ which is more up to date.
>
> Thanks for the solution. Anyway I think it would be very good to update
> current documentation and replace that non-existing link to real example.
I agree it would be very good, but I don't think we have enough time for
that for the moment (1.4 doc is not easy to maintain because it's only a
backup of the old site). As volunteers it's not always easy to find time to
work on Ivy, and I think it's better to keep concentrated on the 2.0 version
for the moment.
Xavier
Almost finished migration from Maven2 to ant+ivy :)
>
> Thanks again,
> Saulius
> --
> View this message in context:
> http://www.nabble.com/ivy.jar-and-ant-tf3631671.html#a10144749
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>
--
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/
Re: ivy.jar and ant
Posted by smu <sa...@delfi.lt>.
Hi,
You sould better use the documentation @ apache:
http://incubator.apache.org/ivy/ which is more up to date.
Thanks for the solution. Anyway I think it would be very good to update
current documentation and replace that non-existing link to real example.
Almost finished migration from Maven2 to ant+ivy :)
Thanks again,
Saulius
--
View this message in context: http://www.nabble.com/ivy.jar-and-ant-tf3631671.html#a10144749
Sent from the ivy-user mailing list archive at Nabble.com.
Re: ivy.jar and ant
Posted by Xavier Hanin <xa...@gmail.com>.
On 4/23/07, smu <sa...@delfi.lt> wrote:
>
>
> 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
You sould better use the documentation @ apache:
http://incubator.apache.org/ivy/ which is more up to date.
You have an example of how to do that in the very first tutorial (go-ivy).
Xavier
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.
>
>
--
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/
RE: ivy.jar and ant
Posted by Gilles Scokart <gs...@gmail.com>.
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.