Hmm... if you look in BRMSPackageBuilder in the BRMS source code, you can see you can add DSL files together (you just have one expander statement - the expander statement is for the IDE) - however, I think that may not work in eclipse to make it content assistance pick up the other DSL file.
<br><br><div class="gmail_quote">On Jan 17, 2008 6:49 PM, mmquelo massi <<a href="mailto:mmquelo@gmail.com">mmquelo@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div> </div>
<div>Hi everybody,</div>
<div> </div>
<div>I was wondering whether is possible to add multiple DSL sources to a single </div>
<div>rule package.</div>
<div> </div>
<div>If we look to the <i>PackageBuilder</i> methods we do not find any method</div>
<div>which allows us to add more than one DSL source per DRL reader.</div>
<div> </div>
<div>I would like to be able to do something like:</div>
<div> </div>
<blockquote dir="ltr" style="margin-right: 0px;">
<div><i>package myRulePackage</i></div>
<div><i>expander DSLsource1;</i></div>
<div><i>expander DSLsource2;</i></div>
<div><i></i> </div>
<div><i>rule "myMultipleDSLRule"</i></div>
<div><i> when</i></div>
<div><i> #</i></div>
<div><i> then</i></div>
<div><i> #</i></div>
<div><i>end</i></div>
<div><i></i> </div>
<div><i></i> </div>
<div><i>.....</i></div>
<div><i></i> </div>
<div><i>rule</i></div>
<div><i> .....</i></div>
<div><i>end</i></div>
<div> </div>
<div> </div></blockquote>
<div>Is That possible??</div>
<div> </div>
<div>In case It weren't possible, Would It be any workaround to this?</div>
<div> </div>
<div>I guess I could workaround this using the class <i>DefaultExpanderResolver</i></div>
<div>but I have got no idea on the way to do it.</div>
<div> </div>
<div>Can You suggest me any way to do it?</div>
<div> </div>
<div>Does anybody have ever had the same issue?</div>
<div> </div>
<div>Let me know.</div>
<div> </div>
<div>Thank You anyway.</div><font color="#888888">
<div> </div>
<div>Massi</div>
</font><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><br></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">
michaelneale.blogspot.com</a>