ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <>
Subject Re: Ivy classpath creation
Date Tue, 14 Oct 2008 15:28:49 GMT
Le mardi 14 octobre 2008, Burkhardt Stefan (CI/TMP) a écrit :
> Hi,
> I am using the following command to get my artefacts within my
> ANT-Script.
> 	<ivy:retrieve
> pattern="${basedir}/lib/[artifact]-[revision].[ext]" type="jar,source"
> sync="true"/>
> It retrieves the artefacts and put the jar-files into my "lib"-folder.
> First Question is:
> - How can I create a classpath based on the artefact resolution and not
> from the directory. Is there a similar command like "cachefileset" for
> the "lib" directory.
>   Is there a way to create a classpath from the resolution report?

yep, see:

> Second question is:
> - I am using subversion and I will check in the complete lib folder with
> the jar-files. But the option "sync=true" will delete the complete
> folder. So the
>   subversion-Folder is removed too. Any Ideas to handle this?

You could just not commit your lib directory and svn:ignore it.


View raw message