<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hi,<br>
<br>
Did you try to add the Drools nature to your project?<br>
I mean something like : right-click on the project | configure |
Convert to Drools project<br>
<br>
Bruno.<br>
<br>
<br>
StormeHawke a écrit :
<blockquote cite="mid:1298043095891-2527360.post@n3.nabble.com"
type="cite">
<pre wrap="">
StormeHawke wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Travis Smith wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm assuming you're using Seam here (which is a variation on Eclipse)
</pre>
</blockquote>
<pre wrap="">No, I'm using eclipse Galileo
Travis Smith wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Have you made sure to update your Runtime?
Window >> Preferences >> Drools >> Installed Drools Runtimes
The runtime is used for rules validation through the IDE.
</pre>
</blockquote>
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
<br>
</body>
</html>