Hallo
I'm looking to integrate the latest Drools version (i have 3.0.4) into a
project, in particular i want to use a DSL. I have a problem using the "Adding
constraints to facts" facility as documented in the user handbook at 3.7.4.
Try the following:
edit org.drools.example.conway.conway.dsl, add
[when]A Cell=Cell()
[when]-is alive=cellState==CellState.LIVE
edit org.drools.example.conway.conway.drl, add
rule "Test"
when A Cell
-is alive
then
end
in the eclipse IDE / at runtime i get the message "unknown:32:0 Unable to
expand: - is alive. Due to Expression was not expandable: - is alive"
it appears to me someone's inserting a space after the '-'
Any ideas?
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email