J J [
http://community.jboss.org/people/joshjdevl] created the discussion
"Re: rules compiler - maven plugin"
To view the discussion, visit:
http://community.jboss.org/message/586593#586593
--------------------------------------------------------------
Thanks. I moved on to sakai since Drools integration helper requires java 1.6.
Using
https://github.com/sakaiproject/nakamura/tree/master/sandbox/drools/drool...
https://github.com/sakaiproject/nakamura/tree/master/sandbox/drools/drool... I
receive the following when compiling a MVEL rule
[ERROR] Unable to resolve ObjectType 'Car' : [Rule name='maserati']
[ERROR] Unable to resolve ObjectType 'Claim' : [Rule name='maserati']
[ERROR] Unable to build expression for 'consequence': [Error: Failed to compile: 2
compilation error(s):
- (1,6) unqualified type in strict mode for: $claim
- (1,12) unqualified type in strict mode for: valid]
[Near : {... Unknown ....}]
^
[Line: 1, Column: 0] ' $claim.valid = true
' : [Rule name='maserati']
[ERROR] Unable to resolve ObjectType 'Car' : [Rule name='lamborghini']
[ERROR] Unable to resolve ObjectType 'Claim' : [Rule name='lamborghini']
[ERROR] Unable to build expression for 'consequence': [Error: Failed to compile: 1
compilation error(s):
- (1,6) unqualified type in strict mode for: $claim]
[Near : {... Unknown ....}]
^
[Line: 1, Column: 0] ' $claim.setValid(true)
' : [Rule name='lamborghini']
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/586593#586593]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]