<p dir="ltr">So many questions....</p>
<p dir="ltr">I can comment on the workbench related aspects.</p>
<p dir="ltr">The workbench only includes DSL files for authoring DSLR (or RDSLR) files that are in the same "folder" as the rule. I use the term "folder" as we don't support "same package" (which would imply if the same package existed in different JARs we'd include all DSL files - we do not).</p>
<p dir="ltr">The "expander" keyword is, AFAIK, deprecated. DSL/DSLR expansion depends upon the files being in the same "folder".</p>
<p dir="ltr">@Mario, @Mark, @Edson. Can you comment on whether KIE does handle DSL expansion across different JARs?</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 18 Mar 2014 09:20, "mfalaize" <<a href="mailto:maxime.falaize@gmail.com">maxime.falaize@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I was wondering how to use efficiently DSL with my rules and I have several<br>
questions about it :<br>
<br>
- First, I have the impression that we can use DSL files only in the same<br>
package of the DSLR file. When I tried to load DSL files by the kmodule.xml<br>
(specifying the different packages in the packages attribute of kbase) it<br>
does not work. Do I have to load each DSL files programmatically or is there<br>
a way to load it automatically by the kmodule.xml (and if it is the case,<br>
how can we handle the parsing order of these files ?) ?<br>
<br>
- An underlying question is is this a good practice to divide DSL files ? I<br>
would like to translate all my rules in french and to put the generic<br>
translations in a unique DSL file to reuse it in all of my different DSLR<br>
files.<br>
<br>
- I noted that we can use more than one DSL file for one DSLR file (it works<br>
at the runtime) but when it is the case the DRL viewer of the DSL rule<br>
editor does not work and I don't have autocompletion. I tried to put several<br>
expander instructions but it fails. Is there a way to make it work ?<br>
<br>
I think DSL stuff is underestimate at this moment by the community and for<br>
my last question I would like to know what is the future plans about this<br>
feature ? Maybe I could help to develop it.<br>
<br>
Regards<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774.html" target="_blank">http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>