geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bohn <>
Subject Re: fail bootstrap early with wrong jdk
Date Wed, 13 Sep 2006 14:35:51 GMT
Funny you should put this out just now.

I was just about to ask if we needed to start running bootstrap 
specifically using JDK 1.5.

I just did a fresh checkout and attempted to build specs via "bootstrap 
specs".  I'm suspecting that the introduction of the EE 5 specs mean 
that we need to start building with JDK 1.5 (in which case failing a 
bootstrap for using JDK 1.5 would be a bad thing).   However, I haven't 
dug into this error yet so it could be something completely different.

Here's the error that I received:

[INFO] Building JPA 1.0
[INFO]    task-segment: [install]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 91 source files to 
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
javac: invalid target release: 1.5
Usage: javac <options> <source files>


Bill Dudney wrote:
> I think we should fail the bootstrap early if using jdk 1.5 as well  as 
> failing the maven build.
> has a patch attached that works, but there might be a way to reuse  the 
> mojo that Jason wrote, not sure...
> Thanks,
> -bd-

View raw message