[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-2763) Event declaration using fqn

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Fri Oct 29 09:11:55 EDT 2010


     [ https://jira.jboss.org/browse/JBRULES-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edson Tirelli reassigned JBRULES-2763:
--------------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)


> 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: Edson Tirelli
>
> 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

        


More information about the jboss-jira mailing list