[rules-users] [Urgent] Error in ontext assist in DSLR Editor

hamza bakkali hamzahome at gmail.com
Tue Nov 17 05:29:56 EST 2009


Hi All,

I have been using drools 4 for couple of months now and I am starting to get
the hang of it. We recently decided to move to Dools 5 with Eclipse 3.4.2
(Ganymede).
We unfortunately hit a major 'show stopper' (for us). In the DSLR editor:
Context Assist + space + enter removes/replaces the whole line, not only the
place holder.

In other words:

DSL:
[*][]Log : {msg}=System.out.println("{msg}");
[*][]id1="some id label"

DSLR:
rule "MyRule"
    when
    then
end

If I Press L , control space --> the line Log:{msg} appears in the context
menu. Hit enter I get
Log :{msg}

Now, If want to replace msg by id1. I position the cursor in the {msg}, hit
ctrl space, id1 shows in the list. I hit enter the whole line disappear, and
I am left with
id1
instead of
Log : id1

Is this a setting somewhere in eclipse itself?? I doubt it.
The same thing use to work as expected in Drools 4.

thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091117/68e7c8ce/attachment.html 


More information about the rules-users mailing list