Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-944

Classpath creation for local lib directory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-RC1
    • 2.3.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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            maartenc Maarten Coene
            stbuit00 Stefan Burkhardt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment