what version of the plugin are you using? That was only fixed in beta 2 or 3 I think. Is there is a .dsl file in the same directory, it should pick it up. If its giving errors or not completing, then chances are it can't find the DSL that is mentioned in the expander statement.
On 4/5/06, Yuesong Wang <[EMAIL PROTECTED]> wrote: > > Speaking of dsl, I spent a whole night and finally got > it to work. One thing, however, is that when using the > Eclipse plugin to edit a dsl-enabled drl file, it will > be marked with an error: > > Unable to use expander. Make sure a expander or dsl > config is being passed to the parser. > [ExpanderResolver was not set]. > > And I don't get code assisstance, which I see on the > screen shots of the plugin, when editing the drl file. > The rule runs fine though. > > Yuesong > > --- Michael Neale <[EMAIL PROTECTED]> wrote: > > > keep in mind, DSLs in 2.x and 3.x are quite > > different beasts > > (www.drools.orgtalks about the > > 2.x XML style of DSLs). > > > > On 4/4/06, Paul Smith <[EMAIL PROTECTED]> > > wrote: > > > > > > Try installing the eclipse IDE plugin. There is a > > nice little editor for > > > creating your own .dsl. There are a couple of .dsl > > examples at > > > > > > > > > > > > > > > > http://anonsvn.labs.jboss.com/trunk/labs/jbossrules/drools-compiler/src/test/resources/org/drools/integrationtests/ > > > > > > These are basically what I followed. > > > > > > On 4/4/06, Diouf Mouhamed <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi all, > > > > I wanner create my own DSL. Have you some > > documentation or guide for me? > > > > Thanks, mdiouf > > > > > > > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >
