Event declaration using fqn
---------------------------
Key: JBRULES-2763
URL:
https://jira.jboss.org/browse/JBRULES-2763
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Java 1.6
Drools 5.1.1
Reporter: Samuli Saarinen
Assignee: Mark Proctor
I'm trying to create event declaration using fqn in the declaration but
for some reason it doesn't work. I have the following rule:
package com.test.pkg
declare com.test.Event1
@role(event)
@expires(2s)
end
compiling it produces the following error:
[6,11]: [ERR 103] Line 6:11 rule 'end_key' failed predicate:
{(validateIdentifierKey(DroolsSoftKeywords.END))}? in com
But if I change it as follows:
package com.test.pkg
import com.test.Event1
declare Event1
@role(event)
@expires(2s)
end
Everything works as expected...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira