Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-319

resolution failure when workspace has project & artifact sub-element exists

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.1.0
    • None
    • workspace resolver
    • None
    • Windows 7 64-bit, Eclipse Juno 4.2, Java 1.7.0_05 64-bit

    Description

      We've encountered resolution failures within Eclipse when the following conditions are met. Although we haven't tried all combinations, it seems to fit together based upon anecdotal evidence.

      • The project publishing an artifact A exists in the Eclipse workspace.
      • A second project B is also in the workspace and depends upon project A. The dependency includes the artifact sub-element within the dependency element.
      • The rev isn't hard-coded.

      Example fragment of ivy.xml:
      <dependency org="com.myco" name="xyz" rev="latest.${release.type}"
      transitive="false" conf="myco-shared, compile->default">
      <artifact name="com.myco.xyz" type="jar"/>
      </dependency>

      We know the resolution works when any of these occur:

      • The artifact sub-element is removed.
      • The project dependee is closed/removed from workspace.
      • rev is changed to a hard-coded value such as "latest.integration".

      Based upon post: http://mail-archives.apache.org/mod_mbox/ant-ivy-user/201208.mbox/browser

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rpmcfong Ryan Fong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment