Description
In kjar project, there are many rules per folder under resources directory and
filtered these rules by using packages attribute in kmodule.xml.
e.g.
- file structure
src/main/resources/ ├── logback-test.xml ├── META-INF │ ├── kmodule.xml │ └── maven │ └── pom.properties └── rules ├── aws │ └── Sample1.drl ├── test1 │ └── Sample1.drl └── test2 └── Sample2.drl
- kmodule.xml
<?xml version="1.0" encoding="UTF-8"?> <kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule"> <kbase name="rules" packages="rules.aws"> <ksession name="ksession-rules"/> </kbase> </kmodule>
This could be built with library version 7.5.0.Final.
But after upgrading 7.11.0.Final or later, it fails.
Attachments
Issue Links
- clones
-
DROOLS-4171 rule filtering by folder-type packages attribute does not work after upgrading to 7.11.0.Final
- Closed