[rules-users] Drools template declaration in kmodule.xml

david.berkman david.berkman at grenadefish.net
Tue Mar 4 17:24:37 EST 2014


Is there any way to declare a drools template (*.drt) and its data files (in
tab delimited or csv or whatever) in a kmodule.xml for publication via
Maven? I realize I can use the Workbench to create a 'similar' web template
and deploy that as a consumable .jar file, but I get the impression that
this web template is not quite the same as a drools template, and if I
publish like that and disassemble the resulting jar, that the kmodule.xml
present there (if there is one), would not reverse engineer and be
applicable to my .drt + .csv files I'm currently loading programmatically.
And although programmatic loading works, it's not available to monitoring by
a KieScanner, and of dynamically loading any changes thereby. I can create
my own monitoring and reloading system, but I'd rather not be reinventing
the wheel.

All help appreciated,

Thanks,
David



--
View this message in context: http://drools.46999.n3.nabble.com/Drools-template-declaration-in-kmodule-xml-tp4028504.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list