]
John Engelke commented on DROOLS-362:
-------------------------------------
Apparently there are others suffering from this affliction, also:
"The version of Janino that drools seems to work with is 2.5.16 where the
CompileException Class is bundled with the jar. The version of the Janino that cascading
2.6.1 refactored those classes into its own jar under commons-compiler and I am Using
drools 5.5.0-Final."
Make Drools work with Janino 2.6.1 and javax.tools API
------------------------------------------------------
Key: DROOLS-362
URL:
https://issues.jboss.org/browse/DROOLS-362
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 5.5.0.Final, 6.0.0.Final
Environment: JDK 1.7.0_45
Reporter: John Engelke
Assignee: Mark Proctor
Labels: Drools, Janino
Drools can be set to leverage the Janino "super-small, super-fast Java(TM)
compiler." But it only works with version 2.5.16, not the latest version 2.6.1.
Unfortunately, Janino does not support language features above 1.4/1.5 (partial 1.5).
Version 2.6.1 includes an option to use the JDK built-in javax.tools.JavaCompiler:
"JANINO can be configured to use javax.tools.JavaCompiler (available since JDK 1.6),
i.e. JAVAC, which removes the Java 5-related limitations." [ See
http://docs.codehaus.org/display/JANINO/Home#Home-what ] Unfortunately, this is only
available when using the jars commons-compiler.jar and commons-compiler-jdk.jar, which are
themselves only available in Janino 2.6.1. [ See
http://docs.codehaus.org/display/JANINO/Advanced ]
This is a nice little blocker for those of us who don't totally agree (or simply
cannot agree) with the Eclipse license. Eclipse JDT is out. And, apparently, so is the
double-diamond operator (until this is fixed)!
Thanks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: