[
http://jira.jboss.com/jira/browse/JBRULES-1068?page=comments#action_12371786 ]
Mark Proctor commented on JBRULES-1068:
---------------------------------------
there should be no = on activation group. Although the error feedback is not good.
activation-group "unique-solution"
Exception when adding "activation-group" attribute to
otherwise correctly executed rule...
------------------------------------------------------------------------------------------
Key: JBRULES-1068
URL:
http://jira.jboss.com/jira/browse/JBRULES-1068
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.GA
Environment: Eclipse 3.2
Reporter: Dr. Gernot Starke
Assigned To: Mark Proctor
Fix For: FUTURE
rule "Golfer-Riddle with a single solution?"
activation-group="unique-solution"
when
// There is a golfer names Fred,
$f: Golfer( name == "Fred",
...
yields:
Exception in thread "main" org.drools.compiler.DroolsParserException: Unknown
error while parsing. This is a bug. Please contact the Development team.
at org.drools.compiler.DrlParser.compile(DrlParser.java:180)
at org.drools.compiler.DrlParser.parse(DrlParser.java:61)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:158)
at arc42.drools.samples.golfer.GolfingExample.main(GolfingExample.java:19)
--
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