[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1260) Include eclipse JDT library in drools-eclipse IDE plugin

Edward Staub (JIRA) jira-events at lists.jboss.org
Wed Mar 31 13:34:38 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBRULES-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12523196#action_12523196 ] 

Edward Staub commented on JBRULES-1260:
---------------------------------------

I'm a total Drools newbie.
I tried to go through "Executing your first process" in the Flow User's Guide, and immediately ran into this.  
It took a couple of hours to try a few things, and finally find this CLOSED issue, which correctly identifies a workaround.

This is not what you want for an initial user experience.
If you're not going to fix this in some way, I suggest putting the workaround in the User's Guide.
I also suggest reopening it.

-Ed Staub

Config:  Eclipse JEE unmodified 3.4.2 and 3.5.2, Windows 32-bit.

> Include eclipse JDT library in drools-eclipse IDE plugin
> --------------------------------------------------------
>
>                 Key: JBRULES-1260
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1260
>             Project: Drools
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: drools-eclipse
>    Affects Versions: 4.0.1
>            Reporter: Joshua Partogi
>            Assignee: Mark Proctor
>             Fix For: 4.0.3
>
>
> Include the core-3.2.3.v_686_R32x.jar inside the drools-eclipse IDE plugin otherwise rules can not be run from eclipse and throw this exception:
> org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
> 	at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:134)
> 	at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:110)
> 	at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:83)
> 	at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:120)
> 	at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:86)
> 	at com.sample.DroolsTest.readRule(DroolsTest.java:50)
> 	at com.sample.DroolsTest.main(DroolsTest.java:21)
> Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath
> 	at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:98)
> 	at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:56)
> 	at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:130)
> 	... 6 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list