Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Ubuntu breezy with GCJ 4.0.1
-
Complexity:Intermediate
-
Number of attachments :
Description
It would make maven2 more "GNU Classpath" friendly if there is less flexibility in maven 2 bootstraping ode.
For example in maven-mboot2/src/main/java/compile/JavacCompiler.java, the class "com.sun.tools.javac.Main" is hardcoded. This result in a NullPointerException when trying to build maven2 with GCJ.
shouldn't GCJ implement that class? AFAIK that is the standard API for accessing a javac-like compiler.
Anyway, we should definitely have other alternatives in the bootstrap. We could probably download the plexus compilers we use instead of having one hardcoded in the bootstrap