<div dir="ltr">It&#39;s a deliberate decision in the workbench; as it follows what is supported by the core engine.<div><br></div><div>I&#39;ve asked the core engine developers to comment on whether the underlying Drools engine supports (does support, should support or will support) cross-JAR DSLs.</div>
<div><br></div><div>With kind regards,</div><div><br></div><div>Mike </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 March 2014 08:52, mfalaize <span dir="ltr">&lt;<a href="mailto:maxime.falaize@gmail.com" target="_blank">maxime.falaize@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Is it a deliberate choice to not include DSL files in the &quot;same package&quot; ? If we are limited to the same folder (or same package), what do you think about supporting inheritance in DSL files ? With this feature we could provide to the community generic translation DSL files for many languages.<br>

<br></div>Sorry for the new questions ! :D<br></div>I&#39;d like to help to develop but I don&#39;t want to make useless contributions...<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-20 20:19 GMT+01:00 manstis [via Drools] <span dir="ltr">&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4028867&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span>:<br>

<blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="">

        <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 &quot;folder&quot; as the rule. I use the term &quot;folder&quot; as we don&#39;t support &quot;same package&quot; (which would imply if the same package existed in different JARs we&#39;d include all DSL files - we do not).</p>



<p dir="ltr">The &quot;expander&quot; keyword is, AFAIK, deprecated. DSL/DSLR expansion depends upon the files being in the same &quot;folder&quot;.</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><div class="gmail_quote"><div><div class="h5"><div><div>On 18 Mar 2014 09:20, &quot;mfalaize&quot; &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4028841&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:<br type="attribution">

</div></div></div></div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div><div class="h5"><div><div>
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&#39;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" rel="nofollow" link="external" 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>
</div></div></div></div><a href="http://user/SendEmail.jtp?type=node&amp;node=4028841&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>
<br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4028841&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774p4028841.html" rel="nofollow" link="external" target="_blank">http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774p4028841.html</a>
        </div><div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Efficiency questions about DSL, <a rel="nofollow" link="external">click here</a>.<br>

                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a><span class="HOEnZb"><font color="#888888">
        </font></span></div></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Maxime FALAIZE
</font></span></div></div></div><span class="HOEnZb"><font color="#888888">


        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774p4028867.html" target="_blank">Re: [rules-users] Efficiency questions about DSL</a></font></span><div class="HOEnZb">
<div class="h5"><br>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html" target="_blank">Drools: User forum mailing list archive</a> at Nabble.com.<br></div></div><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><br></div>