dev@glassfish.java.net

[v3] Can we use JDK 5 to build V3 ?

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Mon, 04 Aug 2008 22:05:10 -0700

Hi,
Is there new requirement that we need to use Java 6 to build v3 ?
I just checked out a fresh workspace and got the following error when
building admingui.

[INFO] [hk2:hk2-compile]
[INFO] Compiling 4 source files to
/Users/anilam/Awork/V3/v3-test/v3/admingui/plugin-service/target/classes
/Users/anilam/Awork/V3/v3-test/v3/admingui/plugin-service/src/main/java/org/glassfish/admingui/plugin/ConsolePluginService.java:118:
cannot access javax.xml.stream.XMLStreamReader
file javax/xml/stream/XMLStreamReader.class not found
                DomDocument doc = parser.parse(url);
                                        ^
Note:
/Users/anilam/Awork/V3/v3-test/v3/admingui/plugin-service/target/apt-generated-sources/org/glassfish/admingui/plugin/ConsoleConfigInjector.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Fatal error compiling


ConsolePluginService doesn't invoke that api directory, think its
through HK2.
The HK2 source code uses Java 6 only api's, does it mean we can no
longer build on java 5 anymore ? Is this new requirement ? I was
able to build on the weekends.
I am still running Mac OS 10.4, i hope i don't need to upgrade my OS in
order to continue my development since there is no Java 6 on Mac 10.4 yet.

thanks
Anissa