don't worry about it. I figured it out. package name does not allow
characters like "-".
Thanks
Malay Shah
________________________________
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Shah, Malay
(IDEAS)
Sent: Friday, September 04, 2009 6:15 PM
To: rules-users(a)lists.jboss.org
Subject: [rules-users] Issue with compiling a drool rule
Hi,
I am trying to compile the following drl rule as getting this error
while using PackageBuilder:
Rule:
package Stc-1
import quickfix.iedt.fixMS.UPR.PortfBlockEntry.PortfOrderEntry;
import quickfix.iedt.fixMS.UPR.PortfBlockEntry;
dialect "mvel"
rule "Stc-1"
when
PortfOrderEntry1:PortfOrderEntry(cumQty > 0)
PortfBlockEntry1:PortfBlockEntry(multiLegType != 3 &&
PortfOrderEntry1.parentOID == entityOID && PortfOrderEntry1.parentVID
== entityVID )
then
.........
end
Error:
[1,11]: unknown:1:11 required (...)+ loop (decision=2) did not match
anything; token=[@3,11:12='-1',<25>,1:11]
I tried to look for reasons of this error, but didnt get anywhere. I
don't see any issue with the rule. Am I missing something obvious here?
I am using jboss-rules 4.0.1.
Thanks
Malay Shah
Morgan Stanley | IDEAS Practice Areas
750 Seventh Avenue, 6th Floor | New York, NY 10019
Phone: +1 212 762-4495
Malay.Shah(a)morganstanley.com
________________________________
NOTICE: If received in error, please destroy, and notify sender. Sender
does not intend to waive confidentiality or privilege. Use of this email
is prohibited when received in error. We may monitor and store emails to
the extent permitted by applicable law.
--------------------------------------------------------------------------
NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in
error. We may monitor and store emails to the extent permitted by applicable law.