Contrib: James Auto Compiler Component (for Mailets, HandlerChains, etc, etc)
-----------------------------------------------------------------------------
Key: JAMES-633
URL: http://issues.apache.org/jira/browse/JAMES-633
Project: James
Issue Type: New Feature
Components: Build System, James Core, Matchers/Mailets (bundled),
SMTPServer
Affects Versions: Trunk
Environment: James 3.0, Eclipse JDT 3.2
Reporter: Guillermo Grandes
Priority: Trivial
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]