<br>   Yes, the good news is that it is clearly a parsing error, what makes it easy to fix. Do you mind opening a JIRA and attaching a test case or the info from your e-mails?<br><br>   Thanks,<br>      Edson<br><br><div class="gmail_quote">
2010/1/19 Axelrod, Nelson <span dir="ltr">&lt;<a href="mailto:naxelrod@jcvi.org">naxelrod@jcvi.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Edson,<br>
<br>
Yes, you guessed right.  We are using drools 5.0.1.<br>
<br>
Exception in thread &quot;main&quot;<br>
org.jcvi.annotation.rulesengine.RulesResourceException: Could not parse<br>
resource in [FileResource<br>
file=&#39;C:\development\workspace\RulesBasedAnnotation\tests\org\jcvi\annot<br>
ation\rules\testNestedOr.drl&#39;] with errors<br>
[14,4]: [ERR 101] Line 14:4 no viable alternative at input &#39;blast_hit&#39;<br>
in rule &quot;2645|lysine decarboxylase CadA&quot; in pattern or[22,2]: [ERR 102]<br>
Line 22:2 mismatched input &#39;)&#39; expecting &#39;then&#39; in rule &quot;2645|lysine<br>
decarboxylase CadA&quot;<br>
        at<br>
org.jcvi.annotation.rulesengine.RulesEngine.addResource(RulesEngine.java<br>
:103)<br>
        at<br>
org.jcvi.annotation.rulesengine.RulesEngine.addResource(RulesEngine.java<br>
:83)<br>
        at org.jcvi.annotation.Aruba.addRuleByFile(Aruba.java:68)<br>
        at org.jcvi.annotation.Aruba.main(Aruba.java:253)<br>
<br>
Thank you in advance for your help,<br>
Nelson<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 19 Jan 2010 11:43:32 -0500<br>
From: Edson Tirelli &lt;<a href="mailto:ed.tirelli@gmail.com">ed.tirelli@gmail.com</a>&gt;<br>
Subject: Re: [rules-users] nested boolean expressions using prefixOr<br>
To: Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:e6dd5ba31001190843u484568a5q150c6eda77ed004d@mail.gmail.com">e6dd5ba31001190843u484568a5q150c6eda77ed004d@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
<br>
   Nelson,<br>
<br>
   Can you provide details on which exact version of drools (5.0.1?) you<br>
are<br>
using and what is the error/stack trace you are receiving?<br>
<br>
   Thanks,<br>
      Edson<br>
<br>
<br>
<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><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>