John Engelke created DROOLS-362:
-----------------------------------
Summary: 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: 6.0.0.Final, 5.5.0.Final
Environment: JDK 1.7.0_45
Reporter: John Engelke
Assignee: Mark Proctor
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 build-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:
http://www.atlassian.com/software/jira