[rules-users] EDT dependency -- transitive dependencies broken from 4.07 to 5?

Andrew Waterman andrew.waterman at gmail.com
Fri Oct 31 14:18:06 EDT 2008


Hi Everyone,

I've seen this issue in the archives, but I haven't seen anyone  
address it in regards to an upgrade from 4.07 to 5MR2.  Basically, I  
have a set of java dialect "drl" files that compile properly in 4.07  
and are usable, but when I simply modify my maven build to use the  
5MR2 release, I get the following well-known error:

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:94)
         at  
org 
.drools 
.rule 
.builder 
.dialect 
.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:55)
         at  
org 
.drools 
.compiler 
.PackageBuilderConfiguration 
.addDialect(PackageBuilderConfiguration.java:200)
         ... 30 more

This error seemed to go away when I moved from using my local build of  
Drools to using the staged builds on snapshots.jboss.org, but has come  
back to haunt me this morning.

Have the transitive dependencies changed in 5? Are there any Maven  
specific work-around suggestions? Is this the expected behavior for 5?

best wishes,

Andrew

---------------------------------
Andrew Waterman
San Cristóbal de las Casas, Chiapas, Mexico
+52 1 967 103 3176
+1 510 342 5693










More information about the rules-users mailing list