Ivy
  1. Ivy
  2. IVY-1235

Generate classpath from retrieve results, allow cachepath to take a repo path/pattern

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-RC1
    • Fix Version/s: 2.3.0-RC1
    • Component/s: Ant
    • Labels:
      None

      Description

      Currently you can use the cachepath directive to generate a classpath that refers to the ivy cache.

      However, if you are generating a jar file manifest, this is not very useful.

      Instead, you want to generate a classpath for a bunch of jars relative to the jar you are creating.

      One way to make this easy would be to have ivy:retrieve have an option that causes it to also export a path similar to the way cachepath does. This path could then be used in the <jar> command to set the classpath on the jar file.

      Alternatively, cachepath could be changed so that it accepts a retrieve pattern and it applies that pattern to the resolved dependencies instead of using the ivy cache paths.

        Issue Links

          Activity

          Dobes Vandermeer created issue -
          Maarten Coene made changes -
          Field Original Value New Value
          Assignee Maarten Coene [ maartenc ]
          Maarten Coene made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s trunk [ 12313426 ]
          Resolution Fixed [ 1 ]
          Maarten Coene made changes -
          Link This issue is related to IVY-944 [ IVY-944 ]

            People

            • Assignee:
              Maarten Coene
              Reporter:
              Dobes Vandermeer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development