Improvement #1031
Review compiler API and compiler order specification
Start date:
13.04.2013
Due date:
% Done:
0%
Estimated time:
origin:
Description
It may be beneficial to be able to specify the compiler order per java component part {api,impl,test}. For example, aspectJ is almost never useful in the API, possibly even dangerous. Groovy, in many cases, will be used for tests only but the groovy compiler is not as optimized as the Java compiler.
Suggestion:
java.compile.order=...
as today. But overrides
java.compiler.order.api=...
java.compiler.order.impl=...
java.compiler.order.test=...
Secondly, a compiler has very little information what it is compiling actually. Yet, the compiler interface is not extensible.
Change it to
boolean compile(ICompilationContext context)