Tom, Mic,
Just to clarify, DSL changes didn't make it for M1. DSL should be ok
in trunk (M2) but not in M1. So Tom, my suggestion is for you to build
from trunk to use DSL.
M2 shall be out in a few days.
[]s
Edson
Michael Neale wrote:
Tom - there was some MAJOR re-work for 3.1m1 - could you put this in
a
JIRA - that example, perhaps with the test code, but at least the example.
Its probably some regex-foo stuffing up and choking on the \n, no
doubt. That would be great.
On 3/2/07, *Tom Gonzalez* <tomgon(a)nortel.com
<mailto:tomgon@nortel.com>> wrote:
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
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org <mailto:rules-dev@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-dev
------------------------------------------------------------------------
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com