IvyDE
  1. IvyDE
  2. IVYDE-240

WorkspaceResolver: deal with self-dependencies

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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;
        }
        ...
      }
      

        Activity

        Stepan Koltsov created issue -
        Nicolas Lalevée made changes -
        Field Original Value New Value
        Fix Version/s 2.2.0 [ 12315245 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Nicolas Lalevée [ hibou ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development