Yeah, I've seen those but unfortunately I get all sorts of errors trying to build following those instructions.
I'm using Maven 1.0.2, Java 1.5 and still no luck.
I cd to <cvs_repo>/glassfish/bootstrap and exec [i]maven bootstrap-all build[/i]
This appears to fail trying to build the common-util component - see below
[i]invoke-ant:
[delete] Deleting: C:\cvs_repo\glassfish\bootstrap\common-util.log
[java] Buildfile: C:\cvs_repo\glassfish\bootstrap\..\..\glassfish\bootstrap\..\..\glassfish\common-util\build.xml
[java]
[java] compile-init:
[java] [echo] Building component common-util
[java]
[java] compile:
[java] [echo] src/java
[java] [javac] Compiling 54 source files to C:\cvs_repo\glassfish\common-util\build
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\jar\JarHandler.java:3: package org.jvnet.hk2.annotations does not exist
[java] [javac] import org.jvnet.hk2.annotations.Service;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\jar\JarHandler.java:4: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.ArchiveHandler;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\jar\JarHandler.java:5: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\AbstractArchiveHandler.java:3: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\AbstractArchiveHandler.java:4: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\jar\JarHandler.java:20: cannot find symbol
[java] [javac] symbol: class ArchiveHandler
[java] [javac] public class JarHandler extends AbstractArchiveHandler implements ArchiveHandler {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\jar\JarHandler.java:25: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.jar.JarHandler
[java] [javac] public boolean handles(ReadableArchive archive) {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\jar\JarHandler.java:39: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.jar.JarHandler
[java] [javac] public ClassLoader getClassLoader(ClassLoader parent, ReadableArchive archive) {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\AbstractArchiveHandler.java:29: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.AbstractArchiveHandler
[java] [javac] public void expand(ReadableArchive source, WritableArchive target) throws IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\AbstractArchiveHandler.java:29: cannot find symbol
[java] [javac] symbol : class WritableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.AbstractArchiveHandler
[java] [javac] public void expand(ReadableArchive source, WritableArchive target) throws IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:53: package org.jvnet.glassfish.api does not exist
[java] [javac] import org.jvnet.glassfish.api.ContractProvider;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:55: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:57: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:59: package org.jvnet.hk2.annotations does not exist
[java] [javac] import org.jvnet.hk2.annotations.Inject;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:61: package org.jvnet.hk2.annotations does not exist
[java] [javac] import org.jvnet.hk2.annotations.Scoped;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:63: package org.jvnet.hk2.annotations does not exist
[java] [javac] import org.jvnet.hk2.annotations.Service;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:65: package org.jvnet.hk2.component does not exist
[java] [javac] import org.jvnet.hk2.component.ComponentException;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:67: package org.jvnet.hk2.component does not exist
[java] [javac] import org.jvnet.hk2.component.Habitat;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:69: package org.jvnet.hk2.component does not exist
[java] [javac] import org.jvnet.hk2.component.Singleton;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:105: cannot find symbol
[java] [javac] symbol: class ContractProvider
[java] [javac] public class ArchiveFactory implements ContractProvider {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:111: cannot find symbol
[java] [javac] symbol : class Habitat
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] Habitat habitat;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:119: cannot find symbol
[java] [javac] symbol : class WritableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] public WritableArchive createArchive(File path) throws java.io.IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:143: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] public ReadableArchive openArchive(File path) throws java.io.IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:171: cannot find symbol
[java] [javac] symbol : class WritableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] public WritableArchive createArchive(URI path) throws IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:221: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] public ReadableArchive openArchive(URI path) throws IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:53: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:55: package org.jvnet.glassfish.api.deployment.archive does not exist
[java] [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:57: package org.jvnet.hk2.annotations does not exist
[java] [javac] import org.jvnet.hk2.annotations.Inject;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:59: package org.jvnet.hk2.annotations does not exist
[java] [javac] import org.jvnet.hk2.annotations.Service;
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:95: cannot find symbol
[java] [javac] symbol: class ReadableArchive
[java] [javac] public class FileArchive implements ReadableArchive, WritableArchive {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:95: cannot find symbol
[java] [javac] symbol: class WritableArchive
[java] [javac] public class FileArchive implements ReadableArchive, WritableArchive {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:205: cannot find symbol
[java] [javac] symbol : class WritableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive
[java] [javac] public void closeEntry(WritableArchive subArchive) throws IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:365: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive
[java] [javac] public ReadableArchive getSubArchive(String name) throws IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:391: cannot find symbol
[java] [javac] symbol : class WritableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive
[java] [javac] public WritableArchive createSubArchive(String name) throws IOException {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\jar\JarHandler.java:19: cannot find symbol
[java] [javac] symbol: class Service
[java] [javac] @Service
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:101: cannot find symbol
[java] [javac] symbol: class Service
[java] [javac] @Service
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:103: cannot find symbol
[java] [javac] symbol: class Scoped
[java] [javac] @Scoped(Singleton.class)
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:109: cannot find symbol
[java] [javac] symbol : class Inject
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] @Inject
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:93: cannot find symbol
[java] [javac] symbol: class Service
[java] [javac] @Service(name="file")
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\FileArchive.java:99: cannot find symbol
[java] [javac] symbol : class Inject
[java] [javac] location: class com.sun.enterprise.deploy.shared.FileArchive
[java] [javac] @Inject
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:179: cannot find symbol
[java] [javac] symbol : class WritableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] WritableArchive archive = habitat.getComponent(WritableArchive.class, protocol);
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:179: cannot find symbol
[java] [javac] symbol : class WritableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] WritableArchive archive = habitat.getComponent(WritableArchive.class, protocol);
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:195: cannot find symbol
[java] [javac] symbol : class ComponentException
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] } catch (ComponentException e) {
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:229: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] ReadableArchive archive = habitat.getComponent(ReadableArchive.class, protocol);
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:229: cannot find symbol
[java] [javac] symbol : class ReadableArchive
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] ReadableArchive archive = habitat.getComponent(ReadableArchive.class, protocol);
[java] [javac] ^
[java] [javac] C:\cvs_repo\glassfish\common-util\src\java\com\sun\enterprise\deploy\shared\ArchiveFactory.java:243: cannot find symbol
[java] [javac] symbol : class ComponentException
[java] [javac] location: class com.sun.enterprise.deploy.shared.ArchiveFactory
[java] [javac] } catch (ComponentException e) {
[java] [javac] ^
[java] [javac] Note: Some input files use unchecked or unsafe operations.
[java] [javac] Note: Recompile with -Xlint:unchecked for details.
[java] [javac] 46 errors
[java]
[java] BUILD FAILED
[java] C:\cvs_repo\glassfish\common-util\build.xml:74: Compile failed; see the compiler error output for details.[/i]
[Message sent by forum member 'seancc' (seancc)]
http://forums.java.net/jive/thread.jspa?messageID=349826