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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: workspace resolver
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: