Hi,
Did you try to add the Drools nature to your project?
I mean something like : right-click on the project | configure | Convert
to Drools project
Bruno.
StormeHawke a écrit :
StormeHawke wrote:
> Travis Smith wrote:
>
>> I'm assuming you're using Seam here (which is a variation on Eclipse)
>>
>>
> No, I'm using eclipse Galileo
>
>
> Travis Smith wrote:
>
>> Have you made sure to update your Runtime?
>>
>> Window >> Preferences >> Drools >> Installed Drools Runtimes
>>
>> The runtime is used for rules validation through the IDE.
>>
>>
> I hadn't done this because I wasn't aware that you had to - syntax
> coloring was working, just not validation, so I wasn't sure what the
> problem was. However, creating a new Eclipse runtime has caused even
> syntax coloring to stop working - now all I get is a plain text editor,
> and still no validation.
>
> These are the steps I followed:
> <ol>
> <li>Opened Window >> Preferences >> Drools >> Installed
Drools
> Runtimes</li>
> <li>There were no Installed Drools Runtimes listed, so I clicked
> "Add..."</li>
> <li>Clicked "Create a new Drools 5 Runtime..."</li>
> <li>Created a new folder under UserRoot/.eclipse/ called
"DroolsRuntime"
> and clicked "OK"</li>
> <li>Selected the new Drools Runtime in the list and clicked
"OK"</li>
> <li>Restarted Eclipse</li>
> </ol>
>
> Thoughts?
>
>
I just right clicked and manually opened my rule file with the associated
editor and syntax coloring came back; however still no validation,
regardless of whether I use the .drl extension or .dslr extension. the
.dslr extension does open in the DSL Rule Editor rather than Rule Editor.
Manually right-clicking and clicking "validate" has no effect either.