ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IVY-944) Classpath creation for local lib directory
Date Wed, 16 Mar 2011 08:39:29 GMT

     [ https://issues.apache.org/jira/browse/IVY-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene resolved IVY-944.
-------------------------------

    Resolution: Fixed
      Assignee: Maarten Coene

In trunk, you can now set a pathId or filesetId on the ivy:retrieve task to create a path/fileset
containing the retrieved files.

> Classpath creation for local lib directory
> ------------------------------------------
>
>                 Key: IVY-944
>                 URL: https://issues.apache.org/jira/browse/IVY-944
>             Project: Ivy
>          Issue Type: New Feature
>    Affects Versions: 2.0-RC1
>            Reporter: Stefan Burkhardt
>            Assignee: Maarten Coene
>
> The ant Task ivy:cachepath can only point to the cache where the libraires are stored.
If you download the artefacts to a local directory (lib) the origin="false" should result
in a classpath 
> pointing to your lib directory. 
> <ivy:retrieve pattern="${basedir}/lib/[artifact]-[revision].[ext]" type="jar,source"
sync="true"/>
> <path id="test.classpath"/>
> <ivy:cachepath pathid="test.classpath"/>
>         
> The commands should result in something like:
> "lib/commons-logging-1.0.4.jar:lib/spring-2.5.5.jar:lib/spring-test-2.5.5.jar"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message