[jboss-jira] [JBoss JIRA] (DROOLS-235) Issues with Drools Eclipse plugin

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Thu Aug 22 17:21:26 EDT 2013


Kris Verlaenen created DROOLS-235:
-------------------------------------

             Summary: Issues with Drools Eclipse plugin
                 Key: DROOLS-235
                 URL: https://issues.jboss.org/browse/DROOLS-235
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.0.0.CR2
            Reporter: Kris Verlaenen
            Assignee: Mark Proctor
         Attachments: Screenshot1.png

When generating a sample Drools project with the Eclipse plugin (6.0.x), there are several issues:

 * When DroolsBuilder is trying to parse the Sample.drl, it seems to be failing to import the Message class (resulting in 11 errors in the problems view), see screenshot1.  Executing the test does seem to work though

 * When both Sample.drl and Sample.xls are created in the same project, the imports seems to clash, executing the test fails when compiling:
java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=rules/Sample.drl, line=15, column=0
   text=Rule Compilation error The import com.sample.DroolsTest.Message collides with another import statement], Message [id=2, level=ERROR, path=dtables/Sample.xls, line=15, column=0
   text=Rule Compilation error The import com.sample.DroolsTest.Message collides with another import statement], Message [id=3, level=ERROR, path=dtables/Sample.xls, line=5, column=0
   text=Rule Compilation error The import com.sample.DroolsTest.Message collides with another import statement], Message [id=4, level=ERROR, path=rules/Sample.drl, line=5, column=0
   text=Rule Compilation error The import com.sample.DroolsTest.Message collides with another import statement]]
	at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:170)
	at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:298)
	at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:273)
	at com.sample.DroolsTest.main(DroolsTest.java:17)
Isn't this allowed?

 * When executing DroolsTest, there seems to be a Sysout somewhere in the code base:
kmodules: file:/NotBackedUp/jBPM-6.0.0.CR2/jbpm-installer/workspace/drools/target/META-INF/kmodule.xml


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list