Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2007 19:15:17 +0900 (JST)
From:      ken <ken@tydfam.jp>
To:        freebsd-java@freebsd.org
Subject:   glassfish compilation on -current
Message-ID:  <20071230.191517.13775668.ken@tydfam.jp>

next in thread | raw e-mail | index | archive | help
 Hi!
 I tried to compile glassfish following Homer Yau's instruction(http://blogs.sun.com/hyau/entry/glassfish_on_freebsd_too) on FreeBSD-current(FreeBSD 8.0-CURRENT #15: Sun Dec 30 00:15:00 JST 2007 i386, jdk1.5.0_13-p7, maven 1.0.2, ant 1.7.0), and having the following errors.

 Am I mssing something?

 Does anyone succeed to compile under -current?  

# maven checkout
# maven bootstrap-all
# maven build
    :                   :                      :
    [java] Buildfile: /home/users/root/workspace/glassfish/bootstrap/../../glassfish/bootstrap/../../glassfish/jacc-api/build.xml
    [java] 
    [java] init:
    [java]      [echo] Building component jacc-api
    [java] 
    [java] compile:
    [java] 
    [java] assemble:
    [java] 
    [java] all:
    [java] 
    [java] BUILD SUCCESSFUL
    [java] Total time: 1 second

invoke-ant:
    [delete] Deleting: /home/users/root/workspace/glassfish/bootstrap/common-util.log
    [java] Buildfile: /home/users/root/workspace/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 /home/users/root/workspace/glassfish/common-util/build
    [java]     [javac] /home/users/root/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:27: package org.jvnet.glassfish.api does not exist
    [java]     [javac] import org.jvnet.glassfish.api.ContractProvider;
    [java]     [javac]                                ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:28: package org.jvnet.glassfish.api.deployment.archive does not exist
    [java]     [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive;
    [java]     [javac]                                                   ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:29: package org.jvnet.glassfish.api.deployment.archive does not exist
    [java]     [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive;
    [java]     [javac]                                                   ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:30: package org.jvnet.hk2.annotations does not exist
    [java]     [javac] import org.jvnet.hk2.annotations.Inject;
    [java]     [javac]                                  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:31: package org.jvnet.hk2.annotations does not exist
    [java]     [javac] import org.jvnet.hk2.annotations.Scoped;
    [java]     [javac]                                  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:32: package org.jvnet.hk2.annotations does not exist
    [java]     [javac] import org.jvnet.hk2.annotations.Service;
    [java]     [javac]                                  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:33: package org.jvnet.hk2.component does not exist
    [java]     [javac] import org.jvnet.hk2.component.ComponentException;
    [java]     [javac]                                ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:34: package org.jvnet.hk2.component does not exist
    [java]     [javac] import org.jvnet.hk2.component.Habitat;
    [java]     [javac]                                ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:35: package org.jvnet.hk2.component does not exist
    [java]     [javac] import org.jvnet.hk2.component.Singleton;
    [java]     [javac]                                ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:53: cannot find symbol
    [java]     [javac] symbol: class ContractProvider
    [java]     [javac] public class ArchiveFactory implements ContractProvider {
    [java]     [javac]                                        ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:56: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:60: 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] 
    [java]     [javac]            ^
    [java] BUILD FAILED
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:72: cannot find symbol
    [java]     [javac] symbol  : class ReadableArchive
    [java] /home/users/root/workspace/glassfish/common-util/build.xml:74: Compile failed; see the compiler error output for details.
    [java] 
    [java] Total time: 4 seconds
    [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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:86: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:111: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:27: package org.jvnet.glassfish.api.deployment.archive does not exist
    [java]     [javac] import org.jvnet.glassfish.api.deployment.archive.ReadableArchive;
    [java]     [javac]                                                   ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:28: package org.jvnet.glassfish.api.deployment.archive does not exist
    [java]     [javac] import org.jvnet.glassfish.api.deployment.archive.WritableArchive;
    [java]     [javac]                                                   ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:29: package org.jvnet.hk2.annotations does not exist
    [java]     [javac] import org.jvnet.hk2.annotations.Inject;
    [java]     [javac]                                  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:30: package org.jvnet.hk2.annotations does not exist
    [java]     [javac] import org.jvnet.hk2.annotations.Service;
    [java]     [javac]                                  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:48: cannot find symbol
    [java]     [javac] symbol: class ReadableArchive
    [java]     [javac] public class FileArchive implements ReadableArchive, WritableArchive {
    [java]     [javac]                                     ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:48: cannot find symbol
    [java]     [javac] symbol: class WritableArchive
    [java]     [javac] public class FileArchive implements ReadableArchive, WritableArchive {
    [java]     [javac]                                                      ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:103: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:183: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:196: 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] /home/users/root/workspace/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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:51: cannot find symbol
    [java]     [javac] symbol: class Service
    [java]     [javac] @Service
    [java]     [javac]  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:52: cannot find symbol
    [java]     [javac] symbol: class Scoped
    [java]     [javac] @Scoped(Singleton.class)
    [java]     [javac]  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:55: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:47: cannot find symbol
    [java]     [javac] symbol: class Service
    [java]     [javac] @Service(name="file")
    [java]     [javac]  ^
    [java]     [javac] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/FileArchive.java:50: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:90: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:90: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:98: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:115: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:115: 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] /home/users/root/workspace/glassfish/common-util/src/java/com/sun/enterprise/deploy/shared/ArchiveFactory.java:122: 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] [ERROR] Java Result: 1

BUILD FAILED
File...... /home/users/root/workspace/glassfish/bootstrap/maven.xml
Element... maven:reactor
Line...... 264
Column.... 40
Unable to obtain goal [build-pe] -- /home/users/root/workspace/glassfish/bootstrap/../../glassfish/bootstrap/maven.xml:642:28: <fail> No message
Total time: 34 seconds
Finished at: Sun Dec 30 18:55:02 JST 2007

 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071230.191517.13775668.ken>