sounds neat to me !<br><br><div class="gmail_quote">On Thu, Sep 9, 2010 at 4:11 AM, Edson Tirelli <span dir="ltr">&lt;<a href="mailto:tirelli@post.com">tirelli@post.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
   Yes, that information is provided by the parser... I don&#39;t see any<br>
problem in exposing that that the knowledge builder level...<br>
<br>
   Edson<br>
<br>
2010/9/8 Wolfgang Laun &lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I may have missed this, too, but I&#39;d like to have a map of package+rulename<br>
&gt; to .DRL/.DSLR-pathname+linenumber.<br>
&gt;<br>
&gt; The DRL parser shouldn&#39;t have any trouble delivering this info, right Edson?<br>
&gt;<br>
&gt; I have produced this information with a kludgy hack, and it&#39;s great for<br>
&gt; producing documentation answering question such as:<br>
&gt;<br>
&gt; &quot;Whera are all my rules?&quot;<br>
&gt; package appl.domain<br>
&gt;   &quot;find disjoint pairs&quot; at /appl/domain/elements.dslr:13<br>
&gt;   &quot;find intersecting pairs&quot; at /appl/domain/elements.dslr:31<br>
&gt;   &quot;find an element with thirteen numbers&quot; at /appl/domain/elements.dslr:61<br>
&gt;   &quot;find an element with twelve numbers&quot; at /appl/domain/elements.dslr:47<br>
&gt;   &quot;find subset pairs&quot; at /appl/domain/elements.drl:21<br>
&gt;<br>
&gt; &quot;Where is some fact class used?&quot;<br>
&gt; class appl.domain.Element used in:<br>
&gt;   &quot;find an element with twelve numbers&quot; in appl.domain at<br>
&gt; /appl/domain/elements.dslr:47<br>
&gt;   &quot;find subset pairs&quot; in appl.domain at /appl/domain/elements.drl:21<br>
&gt;   &quot;find disjoint pairs&quot; in appl.domain at /appl/domain/elements.dslr:13<br>
&gt;   &quot;find an element with thirteen numbers&quot; in appl.domain at<br>
&gt; /appl/domain/elements.dslr:61<br>
&gt;   &quot;find intersecting pairs&quot; in appl.domain at /appl/domain/elements.dslr:31<br>
&gt;<br>
&gt; &quot;Where is the rule causing a RuntimeException?&quot;<br>
&gt; Exception in thread &quot;main&quot; rss.drools.monitor.ActivationLoopError: looping<br>
&gt; over rules &quot;find an element with twelve numbers&quot; at<br>
&gt; /appl/domain/elements.dslr:47,  &quot;find an element with thirteen numbers&quot; at<br>
&gt; /appl/domain/elements.dslr:61 (all in appl.domain)<br>
&gt;<br>
&gt; The class should be Serializable, and separately retrievable from the<br>
&gt; KnowledgeBuilder.<br>
&gt;<br>
&gt; Any chance?<br>
&gt; -W<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; rules-dev mailing list<br>
&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
  Edson Tirelli<br>
  JBoss Drools Core Development<br>
  JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><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><br>