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

WorkspaceResolver: deal with self-dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0.final
    • 2.2.0.beta1
    • workspace resolver
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: