FYI, cleaning and rebuilding the project solved the problem for me.
So, here are the steps I took, for future reference:
1. Imported the drools-examples project
2. Removed the drools-compiler and drools-core from the project build path
3. Right-clicked the project and selected convert to drools
4. Selected Project > Clean
On Tue, Jun 24, 2008 at 12:56 PM, Stephen Schaub <sschaub(a)gmail.com> wrote:
Thanks for the tip, Mark. I did what you suggested, and got the
necessary libraries added to the project build configuration.
I can run the HelloWorldExample, and there are no compile errors for
any of the .java project files. However, there are still lots of
errors reported for the .drl files. When I open the HelloWorld.drl
file and attempt to click the Rete Tree tab at the bottom of the
editor, I get the message:
Rete Tree Build Error!
Reason:
Unable to parse rules to show RETE view!
Am I missing something?
Stephen
On Tue, Jun 24, 2008 at 10:18 AM, Mark Proctor <mproctor(a)codehaus.org> wrote:
> it seems an incorrect .project was committed, it's easy to fix. Just remove
> anything from the project dependencies and then right click and select
> "convert to drools"
>
> Should do the job.
>
> Mark
> Stephen Schaub wrote:
>>
>> I am new to Drools.
>>
>> I downloaded the drools-4.0.7 examples from
>>
>>
>>
http://download.jboss.org/drools/release/4.0.7.19894.GA/drools-4.0.7-exam...
>>
>> I have Eclipse 3.3 with the GEF dependency, and installed the Drools
>> plugins. I then imported the drools examples into a clean Eclipse
>> workspace. I'm getting many errors reported in the Eclipse Problems
>> view on the .drl files.
>>
>> I attempted to run the HelloWorldExample, and got a runtime error. I
>> checked the build path of the project, and it references
>> drools-compiler and drools-core projects, neither of which are in my
>> workspace. I manually removed these, and added the dependencies
>> mentioned in the Drools README_DEPENDENCIES.txt.
>>
>> I looked around for info on setting up the drools examples, and didn't
>> find any. I would appreciate a pointer...
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Stephen Schaub