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

WorkspaceResolver: deal with self-dependencies

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0.final
    • Fix Version/s: 2.2.0.beta1
    • Component/s: workspace resolver
    • Labels:
      None

      Description

      I have several ivy modules (sources with ivy.xml files) imported as single Eclipse project (to ease Eclipse configuration). Those modules have internal dependencies (one ivy.xml rererences jar that is provided by another ivy.xml in the same Eclipse project). These internal dependencies should be evicted by WorkspaceResolver. Currently WorkspaceResolver fails to recognize those internal dependencies because of explicit self-reference check:

      for (int i = 0; i < projects.length; i++) {
        IJavaProject javaProject = projects[i];
        if (resolvingJavaProject.equals(javaProject)) {
          // we don't want to introduce self dependency
          continue;
        }
        ...
      }
      

        Attachments

          Activity

            People

            • Assignee:
              hibou Nicolas Lalevée
              Reporter:
              yozh Stepan Koltsov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: