Update Eclipse Compiler dependency
----------------------------------
Key: JBRULES-2533
URL:
https://jira.jboss.org/browse/JBRULES-2533
Project: Drools
Issue Type: Task
Security Level: Public (Everyone can see)
Components: drools-compiler
Affects Versions: 5.1.0.M2
Reporter: Fabian Lange
Assignee: Mark Proctor
drools-compiler pom includes a reference to eclipse JDT. in 5.0.1 this was a 4 MB
core_whatever.jar
Because I wanted to improve compiler performance I tried out a never eclipse compiler
package. Finding it was not very easy, because eclipse seems to change group and artifact
ids every day.
I found a module which only contains the compiler part from eclipse 3.5.1, which works in
all my tests ok.
Another nice benefit was that the size of my war shrunk by 3 Megabytes, as this module is
only 1.7 megs.
It even helped for performance of compilation process by the way. Not that this is a main
bottleneck, but we have files that take seconds to compile.
My tests on my windows box with java 6 gave 5-10% improvement using the 3.5.1 jdt
compiler.
Here the part for the pom:
{code}
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>3.5.1</version>
</dependency>
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira