Project

General

Profile

Improvement #1031

Review compiler API and compiler order specification

Added by Henning Blohm about 11 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
z2-core
Target version:
-
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)

#1

Updated by Henning Blohm over 5 years ago

  • Status changed from New to Rejected

duplicate and done.

Also available in: Atom PDF