Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0-RC1
-
None
-
None
Description
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"
Attachments
Issue Links
- relates to
-
IVY-1235 Generate classpath from retrieve results, allow cachepath to take a repo path/pattern
-
- Resolved
-