There is also an ant task that can take a set of files (rules) and build them altogether for you if needed.<br><br><div><span class="gmail_quote">On 1/12/07, <b class="gmail_sendername">Michael Neale</b> &lt;<a href="mailto:michael.neale@gmail.com">
michael.neale@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes the PackageDescr object has a package name property which is where the name lives. Not sure if you can easily get that from PackageBuilder, but if you go a little more low level, you can use DrlParser to get PackageDescr yourself, and there you go (peek at the PackageBuilder source code if you need more hints).
<br><br><div><div><span class="e" id="q_11018321e7751704_1"><span class="gmail_quote">On 1/12/07, <b class="gmail_sendername">Justine Hlista</b> &lt;<a href="mailto:justine@vsasset.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
justine@vsasset.com</a>&gt; wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_11018321e7751704_3">

Ah -- that was the problem, I was using a new packagebuilder each time (d&#39;oh)!<br><br>But that brings up another thing...in some cases, I may want the rules source for a given package to be spread across multiple drl files. (I know the convention is to have everything from the package in a single drl file,&nbsp; but for management and organization we may need to spread across multiple drl files). In order to add drls to an existing package, I have to be able to get the package name from the drl to look up a hashed builder. Is there any part of the public API, 
e.g from the antlr parser, that might help me with that? I have a very inefficient workaround at the moment, but if I could get to the parse interface, I might be able to make it better.<br><br>Thanks,<br><span>
Justine</span></span></div><div><span><div><span class="e" id="q_11018321e7751704_5"><br><br><br>
<div><span class="gmail_quote">On 1/12/07, <b class="gmail_sendername">Michael Neale</b> &lt;<a href="mailto:michael.neale@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">michael.neale@gmail.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span>If you use the one packagebuilder, and you add the source first from
the one with the function, and then the others, yes that should work
just fine !<br><br></span></blockquote></div></span></div>

</span></div><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br><br></blockquote>

</div><br>

</blockquote></div><br>