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

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Wed May 18 14:18:01 EDT 2011


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

Edson Tirelli closed JBRULES-2763.
----------------------------------



> Event declaration using fqn
> ---------------------------
>
>                 Key: JBRULES-2763
>                 URL: https://issues.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
>             Fix For: 5.2.0.CR1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list