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

Failure in transitive resolving of projects

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0.final
    • Fix Version/s: None
    • Component/s: classpath container
    • Labels:

      Description

      I have 3 projects configured.
      ProjectA

      • no dependency
      • public class ClassA {}

      ProjectB

      • dependency to ProjectA and transitive false
      • public class ClassB extends ClassA {}

      ProjectC

      • dependency to ProjectB and transitive false
      • public class ClassC extends ClassA {}

      Expected behaviour:
      I expect a compile error on class ClassC because we have no dependency to ProjectA and so ClassA should not be found.

      But ClassA will be found in any case. Also whatever is set in preferences for "Resolve dependencies transitively".

        Attachments

        1. org.apache.IVYDE-365.patch
          1.0 kB
          Reto Stadler

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Taresto Reto Stadler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: