Quantcast

building from svn: error starting unit-test.xml:57: modern compiler

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

building from svn: error starting unit-test.xml:57: modern compiler

M Stewart
build:checkj5:
     [echo] Building Java 5 code for Java version: 1.6

build:java5:
    [javac] Compiling 2 source files to /Users/mark/Development/grails/svn/target/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

build-test:
  [groovyc] Compiling 358 source files to /Users/mark/Development/grails/svn/target/test-classes
    [javac] Compiling 394 source files to /Users/mark/Development/grails/svn/target/test-classes
  [groovyc]

BUILD FAILED
/Users/mark/Development/grails/svn/ant/build/unit-test.xml:57: Error starting modern compiler

I'm using the new-ish Java 6 JDK for MacOS X Leopard. Java 5 is not an option as the rest of our code base requires it. I've seen elsewhere on the list that having mismatched java in one's path versus the one pointed to by JAVA_HOME can yield this problem. I don't think that is the case here, however. In addition to the messages above I get this from the shell I'm using for the build process:

$ echo $JAVA_HOME
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
$ which java
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java

Any Mac/Java6 users know what the problem is?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: building from svn: error starting unit-test.xml:57: modern compiler

Graeme Rocher
I had this problem, I had to downgrade to use JDK 1.5 to get it to build

Cheers

On Fri, May 30, 2008 at 3:19 PM, M Stewart <[hidden email]> wrote:

>
> build:checkj5:
>     [echo] Building Java 5 code for Java version: 1.6
>
> build:java5:
>    [javac] Compiling 2 source files to
> /Users/mark/Development/grails/svn/target/classes
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> build-test:
>  [groovyc] Compiling 358 source files to
> /Users/mark/Development/grails/svn/target/test-classes
>    [javac] Compiling 394 source files to
> /Users/mark/Development/grails/svn/target/test-classes
>  [groovyc]
>
> BUILD FAILED
> /Users/mark/Development/grails/svn/ant/build/unit-test.xml:57: Error
> starting modern compiler
>
> I'm using the new-ish Java 6 JDK for MacOS X Leopard. Java 5 is not an
> option as the rest of our code base requires it. I've seen elsewhere on the
> list that having mismatched java in one's path versus the one pointed to by
> JAVA_HOME can yield this problem. I don't think that is the case here,
> however. In addition to the messages above I get this from the shell I'm
> using for the build process:
>
> $ echo $JAVA_HOME
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> $ which java
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
>
> Any Mac/Java6 users know what the problem is?
>
> --
> View this message in context: http://www.nabble.com/building-from-svn%3A-error-starting-unit-test.xml%3A57%3A-modern-compiler-tp17560063p17560063.html
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Grails Project Lead
G2One, Inc. Chief Technology Officer
http://www.g2one.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: building from svn: error starting unit-test.xml:57: modern compiler

Graeme Rocher
In reply to this post by M Stewart
Creating a JIRA in Groovy

http://jira.codehaus.org/browse/GROOVY-2873

Cheers

On Fri, May 30, 2008 at 3:19 PM, M Stewart <[hidden email]> wrote:

>
> build:checkj5:
>     [echo] Building Java 5 code for Java version: 1.6
>
> build:java5:
>    [javac] Compiling 2 source files to
> /Users/mark/Development/grails/svn/target/classes
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>
> build-test:
>  [groovyc] Compiling 358 source files to
> /Users/mark/Development/grails/svn/target/test-classes
>    [javac] Compiling 394 source files to
> /Users/mark/Development/grails/svn/target/test-classes
>  [groovyc]
>
> BUILD FAILED
> /Users/mark/Development/grails/svn/ant/build/unit-test.xml:57: Error
> starting modern compiler
>
> I'm using the new-ish Java 6 JDK for MacOS X Leopard. Java 5 is not an
> option as the rest of our code base requires it. I've seen elsewhere on the
> list that having mismatched java in one's path versus the one pointed to by
> JAVA_HOME can yield this problem. I don't think that is the case here,
> however. In addition to the messages above I get this from the shell I'm
> using for the build process:
>
> $ echo $JAVA_HOME
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> $ which java
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
>
> Any Mac/Java6 users know what the problem is?
>
> --
> View this message in context: http://www.nabble.com/building-from-svn%3A-error-starting-unit-test.xml%3A57%3A-modern-compiler-tp17560063p17560063.html
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Grails Project Lead
G2One, Inc. Chief Technology Officer
http://www.g2one.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Loading...