No, dash syntax is not the answer. Clever construction of the DSL mapping will
get you what you need.
Allow me to take your example and modify it.
[condition][File]file_name = fileName
[condition][File]dir_name = dirName
[condition][File]group_name = gName
[condition][File]user_name = uName
[condition][]file where {constraints}=$f: File(where {constraints})
[condition][]where {attr} matches {value}={attr} matches {value}
[condition][]and {attr} matches {value}=,{attr} matches {value}
[condition][]or {attr} matches {value}= || {attr} matches {value}
Matt, I'm catching on now -- Drools can make multiple substitutions on a
line. I'll see what I can do with this. Thanks for your examples and help!
reid
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users