https://jira.jboss.org/browse/JBRULES-2763
Cheers,
Samuli
On 28.10.2010 19:14, Edson Tirelli wrote:
This is a bug. Can you please open a ticket?
Thanks,
Edson
2010/10/28 Samuli Saarinen<samuli.saarinen(a)remion.com>:
> Hi,
>
> 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...
>
> From what I've read from the users guide it should work in both cases
> but am I missing something obvious here or is this possibly a bug?
>
> I'm using Drools 5.1.0 but tested this with 5.1.1 also
--
Remion Oy Etävalvontajärjestelmät liiketoiminnan
Samuli Saarinen tehostamiseen
gsm +358 (0)50 3560075
fax +358 (0)3 2125064
www.remion.com