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

KieBuilder does not resolve declarations across packages

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Done
    • 6.0.1.Final, 6.1.0.CR1
    • 6.1.0.Final
    • 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

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: