The system property drools.trimCellsInDTable is unreachable for template resources (drt + xlsx).
It seems that generating the drls from template resources happens prior to reading the system properties. As a result, the system property drools.trimCellsInDTable is ignored ath the time when drls are generated from template resources.
Here is the line of code that generates the drls from template resources:
KnowledgeBuilderImpl.java#L383
Here is the line of code that reads the system properties:
KnowledgeBuilderImpl.java#L405
Can we move the line of code at 405 to line 381?
A reproducer is available at https://github.com/carlmes/decision-table-template
- is related to
-
DROOLS-4138 Building a KJAR using Decision Table Templates throws NPE
- Closed