Re: [rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
Sorry to not include this earlier, but the exeption (where I am developing on another machine) disappeared before. It is exactly: DSL Rule Translation Error! Reason: java.lang.ArrayIndexOutOfBoundsException: 16 and my .dslr file has exactlly 16 lines. -- View this message in context: http://dr

Re: [rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
I have some more incite into what might be causing the problem. Once I remove the drools.package file - which shouldn't be needed since the imports and expander are in the .dslr file - and have a trivial example - I can see an "DSL Rule Translation: Array out of bounds" exception generated in Ecli

Re: [rules-users] Parsing problems using a DSL

2011-03-21 Thread Wolfgang Laun
On 21 March 2011 16:58, drdaveg wrote: > I have run into a number of problems using a domain specific language (DSL) > on processing DSLR files. My biggest frustration - and one I am hoping > people can provide a work-around or guidance on - is that often the Eclipse > plug-in does not allow the

Re: [rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
Trying to bind a variable on the left hand side is a specific example that causes no error to be reported but no DRL to be generated. I can do the binding if I have one re-writing statement per possibility, i.e., There is a first object = object_1 : Car() but not if I generalize it: There is

[rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
I have run into a number of problems using a domain specific language (DSL) on processing DSLR files. My biggest frustration - and one I am hoping people can provide a work-around or guidance on - is that often the Eclipse plug-in does not allow the DRL pane, showing the DRL file, to be clicked on