3 Replies Latest reply on Jul 6, 2007 12:25 PM by jetimms

    Jrules engine

    souravbiswas

      can somebody help me out with Jrules installation and coding

        • 1. Re: Jrules engine
          • 2. Re: Jrules engine
            souravbiswas

            hi all

            i was thinking about evaluating the Jboss rules engine

            i am new to rule's engines and following the installation guide ere's wat i have done
            1.unzipped the eclipse pluggin into my eclipse plugins folder
            2.started a new rules project project where i have included the Sample.drl and DroolTest.java files .

            now when i am running the DroolTest.java file as java application i am having the following error

            org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialect:java'
            at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:156)
            at org.drools.compiler.PackageBuilder.(PackageBuilder.java:131)
            at org.drools.compiler.PackageBuilder.(PackageBuilder.java:84)
            at com.sample.DroolsTest.readRule(DroolsTest.java:50)
            at com.sample.DroolsTest.main(DroolsTest.java:21)



            can sumbody pls help me out

            • 3. Re: Jrules engine
              jetimms

              I have a similar problem to the original poster.

              Unfortunately, I'm new to Eclipse, Java, and JBoss. That being said, I understand and humbly accept the massive learning curve I personally must navigate to better understand these tools. I have read section 2 of the documentation and have a basic understanding of the expert systems from My installation didn't work the same way, which leads me to this post.

              I have been successful in creating a new JBossRules project which seems to always have the sample Hello World in it somehow.

              I got that to run, which was a small mildstone for myself.

              Now I'm loading the Drools example from the JBoss download page, but the example drools files can't seem to find their related example java files.

              When I build, I get 4,692 Problems (or opportunies. Glass half full, right?)

              Each one has a funny looking red X on it. Inside the Drools example project, the HelloWorld.drl had a x on the rule name and the conditional. As a matter of fact, that's true throughout the example project.

              I have three questions:
              1) Where can I find a short explanation (3 sentence or less) of what I'm seeing?
              2) What is the importance in maven as to if and why I might need it (or how to tell that I have it?)
              3) Do I need subversion for Drools examples to work?


              Thanks.