You can pass your DSL definitions in as many files as you like. As for
expansion, the "expander" statement has no effect: the DSL expander
of a KnowledgeBuilder always uses all DSL definitions it has been fed
prior to the DSLR. To use separate DSL definitions for different DSLRs,
you should use different KnowledgeBuilders to avoid cross-fire.
For splitting DSL files, note that the order of DSL entries matters.
There is no point in keeping a DSL file as a binary object, and therefore
there's no way of doing that. But you can serialize the expanded and
compiled DSLRs as serialized KnowledgePackages.
All of this is valid for >= 5.1.x.
-W
On 4 February 2011 05:33, Bala <bala.ganesh(a)accenture.com> wrote:
Hi,
Can we use multiple dsl files in a dslr i.e. expander dsl1.dsl expander
dsl2.dsl
Since my dsl file is going to be large, I find it difficult to store in
database.
Is there a way to split the dsl files and store. and combine back to the
original dsl for better use?
If i am going to keep my dsl file as a binary object and add that to the
builder, how can i specify the expander in dslr?
-----
Thanks,
Bala
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Can-we-use-Multiple-d...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users