[rules-users] Eclipse IDE not validating .drl files

StormeHawke Brian.Trezise at intellidata.net
Fri Feb 18 10:31:35 EST 2011



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.

-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Eclipse-IDE-not-validating-drl-files-tp2520025p2527360.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list