Bug 1001928

Summary: Drools runtime created by plugin misses java compiler
Product: [Retired] JBoss BRMS Platform 6 Reporter: Tomas Schlosser <tschloss>
Component: Eclipse ToolingAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:16:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Schlosser 2013-08-28 07:17:37 UTC
Description of problem:
If yu create new drools runtime using the 'Create a new Drools 6 Runtime' button, it can't run the rules. It complains about missing Eclipse compiler class.

Version-Release number of selected component (if applicable):
JBDS 7
JBoss Drools Core 6.0.0.201308222359 org.drools.eclipse.feature.feature.group

How reproducible:


Steps to Reproduce:
1. create a new Drools runtime
2. create a project usint the generated runtime
3. run DroolsTest class 

Actual results:
java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath

Expected results:
The class runs fine and produces expected output.

Additional info:

Comment 4 Tomas Schlosser 2013-11-08 15:13:02 UTC
I have reviewed the changes in 6.x branch and came up with a new pull request. It simplifies the search and should not require more work later when new version of JDT is released with new Eclipse. It also makes the plugin more testable.

Please review the pull request:
https://github.com/droolsjbpm/droolsjbpm-tools/pull/29

Comment 5 Tomas Schlosser 2014-01-15 11:30:44 UTC
Verified with Drools plugin 6.0.1.Final