Red Hat Bugzilla – Bug 1001928
Drools runtime created by plugin misses java compiler
Last modified: 2014-08-06 16:16:53 EDT
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):
JBoss Drools Core 188.8.131.52308222359 org.drools.eclipse.feature.feature.group
Steps to Reproduce:
1. create a new Drools runtime
2. create a project usint the generated runtime
3. run DroolsTest class
java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath
The class runs fine and produces expected output.
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:
Verified with Drools plugin 6.0.1.Final