Ivy
  1. Ivy
  2. IVY-68

Automatically invoke Any build scripts for dependencies

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4-RC1
    • Component/s: Ant
    • Labels:
      None

      Description

      See this forum thread for more details: http://jayasoft.org/node/218
      The following is from one message in that thread:
      A resolver that wraps another resolver but also can invoke an ant build script for a dependency if an Ant script is available. The build script would be invoked at most once per build for each dependency. Something like this:
      1. Need latest version for dependency "A".
      2. Is there an Ant script for dependency "A"?

      • If yes: invoke script if it has not yet been invoked for this build
        3. Call wrapped resolver to actually retrieve the published artifact(s).

      Note: I don't think this would apply if a specific version is being referenced - only if something like "test.integration" is being referenced?
      The trick then would be to figure out if a) a dependency has an Ant build script, b) where the script is located, and c) what target to call on the script.
      Then, all I do is tell Ivy to resolve in my main Ant build and it will do the rest to ensure that all my dependencies are up-to-date.

        Issue Links

          Activity

          Iain Coulter made changes -
          Link This issue is cloned as IVY-357 [ IVY-357 ]
          Jeff Turner made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Andy DePue created issue -

            People

            • Assignee:
              Xavier Hanin
              Reporter:
              Andy DePue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Development