<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.hoenzb
        {mso-style-name:hoenzb;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">any progress or new on this issue? I am currently facing the situation that I&#8217;d like to create a &#8220;basic DSL&#8221; for different projects, placing it
 in a separate artifact which only gets included. It would be great if the KIE Workbench (and, obviously, the underlying engine) supported that.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank you<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Dominik<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Von:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b>Im Auftrag von </b>Michae</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">l Anstis<br>
<b>Gesendet:</b> Freitag, 21. März 2014 15:19<br>
<b>An:</b> Rules Users List<br>
<b>Betreff:</b> Re: [rules-users] Efficiency questions about DSL<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">It's a deliberate decision in the workbench; as it follows what is supported by the core engine.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">I'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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">With kind regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Mike&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On 21 March 2014 08:52, mfalaize &lt;<a href="mailto:maxime.falaize@gmail.com" target="_blank">maxime.falaize@gmail.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">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.<o:p></o:p></p>
</div>
<p class="MsoNormal">Sorry for the new questions ! :D<o:p></o:p></p>
</div>
<p class="MsoNormal">I'd like to help to develop but I don't want to make useless contributions...<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">2014-03-20 20:19 GMT&#43;01:00 manstis [via Drools] &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4028867&amp;i=0" target="_blank">[hidden email]</a>&gt;:<o:p></o:p></p>
<div>
<p>So many questions....<o:p></o:p></p>
<p>I can comment on the workbench related aspects.<o:p></o:p></p>
<p>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't support &quot;same package&quot; (which would imply if the same package existed in different JARs we'd include
 all DSL files - we do not).<o:p></o:p></p>
<p>The &quot;expander&quot; keyword is, AFAIK, deprecated. DSL/DSLR expansion depends upon the files being in the same &quot;folder&quot;.<o:p></o:p></p>
<p>@Mario, @Mark, @Edson. Can you comment on whether KIE does handle DSL expansion across different JARs?<o:p></o:p></p>
<p>Sent on the move<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">On 18 Mar 2014 09:20, &quot;mfalaize&quot; &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4028841&amp;i=0" target="_blank">[hidden email]</a>&gt; wrote:<o:p></o:p></p>
</div>
</div>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.5pt;padding:0cm 0cm 0cm 12.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<p class="MsoNormal">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<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><a href="http://user/SendEmail.jtp?type=node&amp;node=4028841&amp;i=1" target="_blank">[hidden email]</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________ <br>
rules-users mailing list <br>
<a href="http://user/SendEmail.jtp?type=node&amp;node=4028841&amp;i=2" target="_blank">[hidden email]</a>
<br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#444444"><a href="http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774p4028841.html" target="_blank">http://drools.46999.n3.nabble.com/Efficiency-questions-about-DSL-tp4028774p4028841.html</a>
<o:p></o:p></span></p>
</div>
<div>
<div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#666666">To unsubscribe from Efficiency questions about DSL, click here.<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" target="_blank"><span style="font-size:7.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">NAML</span></a></span><span class="hoenzb"><span style="font-size:8.5pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#888888">
</span></span><span style="font-size:8.5pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#666666"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="color:#888888"><br>
<br clear="all">
<br>
<span class="hoenzb">-- </span><br>
<span class="hoenzb">Maxime FALAIZE </span></span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><span class="hoenzb"><span style="color:#888888"><o:p>&nbsp;</o:p></span></span></p>
<div class="MsoNormal"><span class="hoenzb"><span style="color:#888888">
<hr size="2" width="300" style="width:225.0pt" align="left">
</span></span></div>
<p class="MsoNormal"><span class="hoenzb"><span style="color:#888888">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></span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><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.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><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><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<br>
<font face="Arial" color="Navy" size="2">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br>
mit freundlichen Grüßen / kind regards<br>
Dominik Sandjaja<br>
Fon: &#43;49 (0) 203 60878 183<br>
Fax: &#43;49 (0) 203 60878 222<br>
e-mail: dominik.sandjaja@it-motive.de<br>
<br>
it-motive AG<br>
Zum Walkmüller 6<br>
47269 Duisburg<br>
info@it-motive.de<br>
http://www.it-motive.de<br>
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br>
Vorsitzender des Aufsichtsrats: Dr.-Ing. Jürgen Sturm<br>
Vorstand: Horst-Dieter Deelmann (Vors.), Matthias Heming, Christoph Tim Klose<br>
HRB 9207, Amtsgericht Duisburg<br>
</font>
</body>
</html>