Hello,
I'm trying to build Glassfish v2 on FreeBSD 7.0-PRERELEASE using the instructions found here:
http://blogs.sun.com/hyau/entry/glassfish_on_freebsd_too
The maven build fails in glassfish/common-util/build.xml. Here's the beginning and end of the error output:
[java] Buildfile: /tmp/workspace/glassfish/bootstrap/../../glassfish/bootstrap/../../glassfish/common-util/build.xml
[java]
[java] compile-init:
[java] [echo] Building component common-util
[java] [mkdir] Created dir: /tmp/workspace/glassfish/common-util/build
[java]
[java] compile:
[java] [echo] src/java
[java] [javac] Compiling 54 source files to /tmp/workspace/glassfish/common-util/build
[java] [javac] /tmp/workspace/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] /tmp/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/jar/JarHandler.java:4: package org.jvnet.glassfish.api.deployment.archive does not exist
>>> SNIP <<<
[java]
[java] BUILD FAILED
[java] /tmp/workspace/glassfish/common-util/build.xml:74: Compile failed; see the compiler error output for details.
[java]
[java] [javac] Note: Recompile with -Xlint:unchecked for details.
[java] [javac] 46 errors
[java] Total time: 4 seconds
[java] Java Result: 1
I'd appreciate any pointers...
[Message sent by forum member 'dpoland' (dpoland)]
http://forums.java.net/jive/thread.jspa?messageID=254498