[rules-users] 5.4.0.Beta2 parse error in consequence /* in string

Benjamin Bennett benbennett at gmail.com
Thu Feb 23 18:27:16 EST 2012


Just passing on I am using the drools 5.4.0Beta2

The following doesn't compile using the mvel dialect .
rule "some rule"
 when
fact: Fact()
then
BasicFact fault= new BasicFact( "/*");
end

but
rule "some rule"
 when
fact: Fact()
then
BasicFact fault= new BasicFact( "/ *");
end

does compile some how /* is being parsed as an expression I think and not a
string literal.

Thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120223/f867146d/attachment.html 


More information about the rules-users mailing list