ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Burkhardt (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-944) Classpath creation for local lib directory
Date Thu, 16 Oct 2008 11:14:44 GMT
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


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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message