-
Bug
-
Resolution: Done
-
Major
-
None
-
7.16.0.Final
-
2019 Week 05-07
-
- See Description
-
NEW
-
NEW
When we configure 'packages' attribute in kbase element in kmodule.xml, normal build works but executable-model build results in empty kbase.
<?xml version="1.0" encoding="UTF-8"?> <kmodule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://jboss.org/kie/6.0.0/kmodule"> <kbase name="mykbase" packages="rules" default="true"> <ksession name="myksession" default="true" /> </kbase> </kmodule>
executable-model seems to expect that the kbase's packages value must match the "package" declaration in DRL.
Please confirm the behaviour with the attached execution-model-test-kbase-package.zip.
- Normal build
- mvn clean install -DskipTests
- mvn clean test
... kiePackages = [[Package name=com.sample]] Hello, john ...
- executable-model build
- mvn clean install -DgenerateModel=YES -DskipTests
- mvn clean test
... kiePackages = [] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.341 s <<< FAILURE! - in com.example.DroolsTest ...
- is incorporated by
-
RHDM-823 kbase 'packages' in kmodule.xml works differently with executable-model
- Closed