[rules-users] addpackagefromdrl removed and multiple DSL functionality lost?

drdaveg drdaveg at gmail.com
Wed May 4 11:17:31 EDT 2011


Several posts refer to a pre-5.0 addpackagefromdrl method that builds a rule
file for an associated DSL file.  This let multiple DRL files be associated
to a specific DSL file for compilation.

KnowledgeBuilder.add(...) lets you add multiple DRL and DSL files, but it
seems as if the "expander" keyword (as noted in the list) is used by Eclipse
- not KnowledgeBuilder - to compile the DRL with the correct DSL.  Also the
DSL file used to compile the DRL is now dependent on the .add statement
sequence with DSL's "hiding" other DSL's.

Is there an equivalent API call to addpackagefromdrl?  

While one could have mutiple KnowledgeBuilder's, each with a
StatefulKnowledgeSession, this would push orchestra of many applications
(like my BPM application) to Java - instead of Drools.

--
View this message in context: http://drools.46999.n3.nabble.com/addpackagefromdrl-removed-and-multiple-DSL-functionality-lost-tp2899261p2899261.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list