[rules-users] Issue with compiling a drool rule

Shah, Malay Malay.Shah at morganstanley.com
Sat Sep 5 00:11:28 EDT 2009


don't worry about it. I figured it out. package name does not allow
characters like "-".
 
Thanks
 
Malay Shah

________________________________

From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Shah, Malay
(IDEAS)
Sent: Friday, September 04, 2009 6:15 PM
To: rules-users at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090905/94ab0002/attachment.html 


More information about the rules-users mailing list