IvyDE
  1. IvyDE
  2. IVYDE-308

Retrieve list does not resolve workspace projects

    Details

      Description

      The use case I have is that I'm using Ivy to resolve the dependencies for an EAR project in eclipse. Up to 2.2 the configuration we used was to resolve the ivy classpath container from the cache but to also retrieve the dependencies to a lib directory (without the revision in the name of the file).

      The EAR projects deployment assembly then deployed those libs to the application server.

      If a "utility module" project was also open in eclipse that was being published correctly as it was also included in the EAR's deployment assembly. If someone added a new dependency to the utility modules IVY file then that dependency was correctly being resolved in the EAR's lib directory.

      Now with 2.2 the resolve of the classpath container and the retrieve have been separated. The problem is that the retrieve does not resolve from the workspace. Any new dependencies added to a utility module do NOT show up in the EAR lib directory but they do show up in the IVY classpath container.

      We tried changing the EAR's ivy setting to build the classpath from "retrieved artifacts" but you then lose the resolved version information which is not really an option (i.e. the retrieve pattern must be 'lib/[artifact].[ext]' for the deployment to work so we now have no way to know what version dependencies were resolved)

      1. org.apache.ivyde.eclipse.patch
        11 kB
        Peter Oxenham
      2. org.apache.ivyde.eclipse.patch
        11 kB
        Peter Oxenham

        Activity

        Nicolas Lalevée made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Nicolas Lalevée [ hibou ]
        Fix Version/s trunk [ 12320552 ]
        Resolution Fixed [ 1 ]
        Hide
        Nicolas Lalevée added a comment -

        Thank you for the patch.
        Actually the first patch was properly granted, sorry to have ask a second upload, Jira doesn't show the feather on the main page, only in the attachement management one.

        Show
        Nicolas Lalevée added a comment - Thank you for the patch. Actually the first patch was properly granted, sorry to have ask a second upload, Jira doesn't show the feather on the main page, only in the attachement management one.
        Nicolas Lalevée made changes -
        Attachment test.txt [ 12536576 ]
        Nicolas Lalevée made changes -
        Attachment test.txt [ 12536576 ]
        Peter Oxenham made changes -
        Attachment org.apache.ivyde.eclipse.patch [ 12531897 ]
        Hide
        Peter Oxenham added a comment -

        Patch with grant license checked

        Show
        Peter Oxenham added a comment - Patch with grant license checked
        Nicolas Lalevée made changes -
        Labels patch
        Hide
        Nicolas Lalevée added a comment -

        Peter, when you upload you patch, could you check the box "Grant license to ASF for inclusion in ASF works". Thanks in advance.

        Show
        Nicolas Lalevée added a comment - Peter, when you upload you patch, could you check the box "Grant license to ASF for inclusion in ASF works". Thanks in advance.
        Peter Oxenham made changes -
        Field Original Value New Value
        Attachment org.apache.ivyde.eclipse.patch [ 12530327 ]
        Hide
        Peter Oxenham added a comment -

        Patch to add "Resolve in workspace" to retrieve settings

        Show
        Peter Oxenham added a comment - Patch to add "Resolve in workspace" to retrieve settings
        Peter Oxenham created issue -

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            Peter Oxenham
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development