You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Damien Raude-Morvan (JIRA)" <ji...@codehaus.org> on 2005/10/15 23:45:11 UTC

[jira] Created: (MNG-1214) Build Maven2 on free java SDK

Build Maven2 on free java SDK
-----------------------------

         Key: MNG-1214
         URL: http://jira.codehaus.org/browse/MNG-1214
     Project: Maven 2
        Type: New Feature
 Environment: Ubuntu breezy with GCJ 4.0.1
 Reporter: Damien Raude-Morvan
    Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1214) Build Maven2 on free java SDK

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1214?page=comments#action_48971 ] 

Brett Porter commented on MNG-1214:
-----------------------------------

sure, I'm still writing that mail on how I see us addressing this.

> Build Maven2 on free java SDK
> -----------------------------
>
>          Key: MNG-1214
>          URL: http://jira.codehaus.org/browse/MNG-1214
>      Project: Maven 2
>         Type: New Feature
>  Environment: Ubuntu breezy with GCJ 4.0.1
>     Reporter: Damien Raude-Morvan
>     Priority: Minor

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1214) Build Maven2 on free java SDK

Posted by "Trygve Laugstol (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1214?page=comments#action_48728 ] 

Trygve Laugstol commented on MNG-1214:
--------------------------------------

Brett: Not that downloading the implementation isn't useful :)

> Build Maven2 on free java SDK
> -----------------------------
>
>          Key: MNG-1214
>          URL: http://jira.codehaus.org/browse/MNG-1214
>      Project: Maven 2
>         Type: New Feature
>  Environment: Ubuntu breezy with GCJ 4.0.1
>     Reporter: Damien Raude-Morvan
>     Priority: Minor

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1214) Build Maven2 on free java SDK

Posted by "Trygve Laugstol (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1214?page=comments#action_48727 ] 

Trygve Laugstol commented on MNG-1214:
--------------------------------------

Damien: I have a set of tools that builds Maven 2 with free tools only. I haven't use any of the GNU tools, only the java-based ones but it shouldn't be hard adding support for GCJ and co. I can publish these somewhere if there's an interest in that.

Brett: The biggest issue with the MBoot for the Linux distros is that it's downloading stuff of the internet which is not something that builds are allowed to do. I have a technique in my scripts that basically builds everything (including dependencies) from source.

> Build Maven2 on free java SDK
> -----------------------------
>
>          Key: MNG-1214
>          URL: http://jira.codehaus.org/browse/MNG-1214
>      Project: Maven 2
>         Type: New Feature
>  Environment: Ubuntu breezy with GCJ 4.0.1
>     Reporter: Damien Raude-Morvan
>     Priority: Minor

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1214) Build Maven2 on free java SDK

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1214?page=comments#action_48676 ] 

Brett Porter commented on MNG-1214:
-----------------------------------

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

> Build Maven2 on free java SDK
> -----------------------------
>
>          Key: MNG-1214
>          URL: http://jira.codehaus.org/browse/MNG-1214
>      Project: Maven 2
>         Type: New Feature
>  Environment: Ubuntu breezy with GCJ 4.0.1
>     Reporter: Damien Raude-Morvan
>     Priority: Minor

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org