Details
-
New Feature
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
-
James 3.0, Eclipse JDT 3.2
Description
As I promised here in JAMES-617 ... the gift...
Is a component for James (fully integrated), an automatic compiler of classes, to compile automatically Mailets, SMTPHandlerChains, etc, etc (if mailet/handler/class needs to compile other classes, it will do it so that everything compiles correctly).
I have proven it with these three, but surely he will be worth for more things.
The best thing is than it does not require to change other classes like JamesMailetLoader/MatcherLoader, SMTPHandlerChain,... and if you do not like or you do not use it, you can deactivate just by to change the config.xml
I believe that he is quite useful, since to add to a new Command in SMTPHandlerChain or new Mailet it is as easy as to place the Java sourcecode in a directory, change the config and Restart James, the rest... automatic.
- Uses Eclipse JDT Core Batch Compiler (3.2) : ecj.jar (1MB)
- Available at: http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/index.php
- It can work with the JDTCompiler 3.1.2 that comes bundled with Tomcat 5.5 (jasper-compiler-jdt.jar), but is necessary to change two lines of code in the JDTCompiler.java (line: 350 / 423)