[rules-dev] Drools 3.1.0-M1 dsl compatibility problems with 3.0.4

Tom Gonzalez tomgon at nortel.com
Thu Mar 1 17:29:17 EST 2007


We are in the process of converting from 3.0.4 to 3.1.0-M1 and having
problems building rules with a dsl that built in 3.0.4 with no problems.

We are getting rule compilation errors reporting:

	String literal is not properly closed by a double-quote

The problem was isolated to the following, a dsl mapping that works in
3.0.4

	[then]Log : {level} , {message}=logUtil.log ( {level}  ,
"{message}\n" );

We had to change it to the following to get past the compile error.

	[then]Log : {level} , {message}=logUtil.log ( {level}  ,
"{message}");


Tried to get the lf in various ways but no luck. Only way would be to
modify every message and add a LF

[then]Log : {level} , {message}=logUtil.log ( {level}  , "{message}" +
"\n");  -- no good got same error.

This was not easy to find either. The error message above was not of
much use.

Regards,


Tom G



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20070301/3b7e6b97/attachment.html 


More information about the rules-dev mailing list