[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-699) syntactically correct rule files are marked with errors
Kris Verlaenen (JIRA)
jira-events at lists.jboss.org
Fri Jul 6 07:50:53 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-699?page=all ]
Kris Verlaenen resolved JBRULES-699.
------------------------------------
Resolution: Won't Fix
Does not occur any more in latest version so closing issue.
> syntactically correct rule files are marked with errors
> -------------------------------------------------------
>
> Key: JBRULES-699
> URL: http://jira.jboss.com/jira/browse/JBRULES-699
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Eclipse IDE
> Affects Versions: 3.0.4, 3.0.5
> Environment: Eclipse 3.2, both on Mac OS X and Windows XP
> Reporter: Dr. Gernot Starke
> Assigned To: Kris Verlaenen
> Fix For: 3.0.6
>
>
> Although rule-files are syntactically correct (tutorial example), parser within Eclipse plugin marks them as erroneous. Deleting the rule, re-typing it in editor resolves the problem. Example (displays error in eclipse package explorer):
> #created on: 14.02.2007
> package com.sample.business
> #list any import classes here.
> import com.sample.Person;
> import java.util.ArrayList;
> #declare any global variables here
> global ArrayList zorglist;
> rule "erwachsene Person bekommt Kredit"
> when
> person: Person( age >= 18 )
> then
> System.out.println("Erwachsener in Sicht: " + person.getName());
> zorglist.add( person.getName());
> end
> rule "no credit"
> when
> Person( personName : name, age < 18)
> then
> System.out.println( "denied for " + personName );
> end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list