Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-536

KieBuilder does not resolve declarations across packages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.1.0.Final
    • 6.0.1.Final, 6.1.0.CR1
    • None
    • None
    • Hide

      See Pull Request

      Show
      See Pull Request
    • Workaround Exists
    • Hide

      Use the 5.x adapter APIs or revert to Drools 5.x

      Show
      Use the 5.x adapter APIs or revert to Drools 5.x

      The KieBuilder loads the packages in the order declared in the kmodule.xml and builds them independently.
      If a type declaration extends a second type declaration in another package, the latter may not have been processed yet, resulting in a compile-time exception.
      Changing the order of the packages in the kmodule.xml does not help (and would prevent cross-dependencies)

              mfusco@redhat.com Mario Fusco
              kevinpeterson5150 Kevin Peterson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: