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

Bernd Ruecker (JIRA) jira-events at lists.jboss.org
Mon Aug 24 05:18:23 EDT 2009


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

Bernd Ruecker commented on JBRULES-1260:
----------------------------------------

I don't think this is fixed. 

You still have to add that library-dependency yourself for a drools project (at least for me, fresh Eclipse 3.5 with JBoss Tools), which is a bit tricky, at least for newbies. Isn't there any easier way available?

> 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