geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daition daition" <dait...@gmail.com>
Subject (GERONIMODEVTOOLS) Problem when building GEP
Date Mon, 11 Aug 2008 10:00:01 GMT
*Hi, All

I encountered  with some problems when building GEP from revision 684696.
1) I built it with JDK 5.0, but I was told "javac: invalid target release
1.6". Does it mean GEP has to work with JDK 6.0?
2) With JDK 6.0, I still got such exception (Because there is always some
unit test failure, I just built GEP with command "mvn install -e
-Dtest=false") :*

"*+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Geronimo Eclipse Plugin
[INFO]   Geronimo Eclipse Plugin :: Eclipse
[INFO]   Geronimo Eclipse Plugin :: Plugins
[INFO]   org.apache.geronimo.jee.v21.jaxbmodel
[INFO]   org.apache.geronimo.runtime.common
[INFO]   org.apache.geronimo.st.core
[INFO]   org.apache.geronimo.runtime.v20
[INFO]   org.apache.geronimo.runtime.v21
[INFO]   org.apache.geronimo.st.v21.core
[INFO]   org.apache.geronimo.st.v20.core
[INFO]   org.apache.geronimo.st.ui
[INFO]   org.apache.geronimo.st.schemas
[INFO]   org.apache.geronimo.st.v21.ui
[INFO]   org.apache.geronimo.st.v20.ui
[INFO]   Geronimo Eclipse Plugin :: Features
[INFO]   org.apache.geronimo.v20.feature
[INFO]   org.apache.geronimo.v21.feature
[INFO]   org.apache.geronimo.server.jetty.v20.feature
[INFO]   org.apache.geronimo.server.jetty.v21.feature
[INFO]   org.apache.geronimo.server.tomcat.v20.feature
[INFO]   org.apache.geronimo.server.tomcat.v21.feature
[INFO]   Geronimo Eclipse Plugin :: Assembly
[INFO]   Geronimo Eclipse Plugin :: Testsuite
[INFO]   Geronimo Eclipse Plugin :: Testsuite :: Eclipse
[INFO]   Geronimo Eclipse Plugin :: Testsuite :: Server
[INFO]   Geronimo Eclipse Plugin :: Testsuite :: Plugins
[INFO]   org.apache.geronimo.devtools.helloworld
[INFO]   org.apache.geronimo.testsuite.common
[INFO]   org.apache.geronimo.testsuite.v21
[INFO]   org.apache.geronimo.testsuite.v20
[INFO]   Geronimo Eclipse Plugin :: Testsuite :: Launcher
[INFO]
------------------------------------------------------------------------
[INFO] Building Geronimo Eclipse Plugin
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /media/INTERCHANGE/was_ce/ger_devtool_src/pom.xml to
/home/delos/.m2/repository/org/apache/geronimo/devtools/geronimo-eclipse-plugin/2.1.2/geronimo-eclipse-plugin-2.1.2.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Geronimo Eclipse Plugin :: Eclipse
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [antrun:run {execution: create-eclipse-target}]
[INFO] Executing tasks

init:

linux:
     [echo]
#################################################################################
     [echo]
##

     [echo] ## Downloading:
eclipse-jee-ganymede-linux-gtk.tar.gz

     [echo]
##

     [echo] ## From:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/R/

     [echo]
##

     [echo]
#################################################################################
      [get] Getting:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/R/eclipse-jee-ganymede-linux-gtk.tar.gz&r=1&protocol=http
      [get] To:
/home/delos/.m2/repository/eclipse-downloads/eclipse-jee-ganymede-linux-gtk.tar.gz
      [get] local file date : Thu Jul 31 19:46:42 CST 2008
      [get] Not modified - so not downloaded
     [echo]
#################################################################################
     [echo]
##

     [echo] ## Unzipping:
eclipse-jee-ganymede-linux-gtk.tar.gz

     [echo]
##

     [echo]
#################################################################################
   [delete] Deleting directory /home/delos/.m2/repository/eclipse
    [mkdir] Created dir: /home/delos/.m2/repository/eclipse
    [untar] Expanding:
/home/delos/.m2/repository/eclipse-downloads/eclipse-jee-ganymede-linux-gtk.tar
into /home/delos/.m2/repository/eclipse
[INFO] Executed tasks
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /media/INTERCHANGE/was_ce/ger_devtool_src/eclipse/pom.xml
to
/home/delos/.m2/repository/org/apache/geronimo/devtools/eclipse/2.1.2/eclipse-2.1.2.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Geronimo Eclipse Plugin :: Plugins
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /media/INTERCHANGE/was_ce/ger_devtool_src/plugins/pom.xml
to
/home/delos/.m2/repository/org/apache/geronimo/devtools/eclipse-plugins-parent/2.1.2/eclipse-plugins-parent-2.1.2.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building org.apache.geronimo.jee.v21.jaxbmodel
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 116 source files to
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.jee.v21.jaxbmodel/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.jee.v21.jaxbmodel/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar:
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.jee.v21.jaxbmodel/target/org.apache.geronimo.jee.v21.jaxbmodel-2.1.2.jar
[INFO] [install:install]
[INFO] Installing
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.jee.v21.jaxbmodel/target/org.apache.geronimo.jee.v21.jaxbmodel-2.1.2.jar
to
/home/delos/.m2/repository/org/apache/geronimo/devtools/org.apache.geronimo.jee.v21.jaxbmodel/2.1.2/org.apache.geronimo.jee.v21.jaxbmodel-2.1.2.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building org.apache.geronimo.runtime.common
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [eclipsepde:manifestbundles {execution: initialize}]
[INFO] [eclipsepde:install {execution: initialize}]
[INFO] [antrun:run {execution: backup}]
[INFO] Executing tasks
     [copy] Copying 1 file to
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/target
     [copy] Copying 1 file to
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/target
[INFO] Executed tasks
[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact:
org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:?:jar
[INFO] Configured Artifact: commons-logging:commons-logging:?:jar
[INFO] Configured Artifact: cglib:cglib-nodep:?:jar
[INFO] Configured Artifact:
org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:?:jar
[INFO] Configured Artifact: javax.xml.bind:jaxb-api:?:jar
[INFO] Configured Artifact: com.sun.xml.bind:jaxb-impl:?:jar
[INFO] Configured Artifact:
org.apache.geronimo.specs:geronimo-activation_1.1_spec:?:jar
[INFO] org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:1.0:jar
already exists in
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/lib
[INFO] commons-logging:commons-logging:1.0.4:jar already exists in
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/lib
[INFO] cglib:cglib-nodep:2.1_3:jar already exists in
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/lib
[INFO] org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0.1:jar
already exists in
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/lib
[INFO] javax.xml.bind:jaxb-api:2.0:jar already exists in
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/lib
[INFO] com.sun.xml.bind:jaxb-impl:2.0.5:jar already exists in
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/lib
[INFO] org.apache.geronimo.specs:geronimo-activation_1.1_spec:1.0.2:jar
already exists in
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/lib
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [eclipsepde:validatemanifest {execution: validate-bundle-classpath}]
[INFO] [eclipsepde:classpath {execution: generate-classpath}]
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [antrun:run {execution: restore}]
[INFO] Executing tasks
     [copy] Copying 1 file to
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common
     [copy] Copying 1 file to
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common
[INFO] Executed tasks
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] [install:install]
[INFO] Installing
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.runtime.common/target/org.apache.geronimo.runtime.common-2.1.2.jar
to
/home/delos/.m2/repository/org/apache/geronimo/devtools/org.apache.geronimo.runtime.common/2.1.2/org.apache.geronimo.runtime.common-2.1.2.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building org.apache.geronimo.st.core
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [eclipsepde:manifestbundles {execution: initialize}]
[INFO] [eclipsepde:install {execution: initialize}]
[INFO] org.eclipse.core.runtime : 3.4.0-v20080512 already exists in local
repository.
[INFO] org.eclipse.equinox.common : 3.4.0-v20080421-2006 already exists in
local repository.
[INFO] org.eclipse.wst.common.environment : 1.0.201-v200805140020 already
exists in local repository.
[INFO] org.eclipse.core.commands : 3.4.0-I20080509-2000 already exists in
local repository.
[INFO] org.eclipse.core.contenttype : 3.3.0-v20080604-1400 already exists in
local repository.
[INFO] org.eclipse.emf.ecore : 2.4.0-v200806091234 already exists in local
repository.
[INFO] org.eclipse.wst.common.project.facet.core : 1.3.0-v200805140020
already exists in local repository.
[INFO] org.eclipse.jst.j2ee.core : 1.1.200-v200806052000 already exists in
local repository.
[INFO] org.eclipse.core.resources : 3.4.0-v20080604-1400 already exists in
local repository.
[INFO] org.eclipse.equinox.preferences : 3.2.200-v20080421-2006 already
exists in local repository.
[INFO] org.eclipse.jst.j2ee.jca : 1.1.200-v200806041500 already exists in
local repository.
[INFO] org.eclipse.jst.j2ee.web : 1.1.200-v200806051600 already exists in
local repository.
[INFO] org.eclipse.jst.server.core : 1.1.0-v20080528 already exists in local
repository.
[INFO] org.eclipse.debug.core : 3.4.0-v20080612 already exists in local
repository.
[INFO] org.eclipse.jst.j2ee : 1.1.200-v200806051600 already exists in local
repository.
[INFO] org.eclipse.wst.common.frameworks : 1.1.200-v200805140020 already
exists in local repository.
[INFO] org.eclipse.equinox.registry : 3.4.0-v20080516-0950 already exists in
local repository.
[INFO] org.eclipse.wst.web : 1.1.202-v200805140200 already exists in local
repository.
[INFO] org.eclipse.osgi : 3.4.0-v20080605-1900 already exists in local
repository.
[INFO] org.eclipse.jst.j2ee.ejb : 1.1.200-v200806041500 already exists in
local repository.
[INFO] org.eclipse.wst.common.modulecore : 1.1.200-v200806091800 already
exists in local repository.
[INFO] org.eclipse.core.jobs : 3.4.0-v20080512 already exists in local
repository.
[INFO] org.eclipse.jdt.launching : 3.4.0-v20080529-1300 already exists in
local repository.
[INFO] org.eclipse.jdt.core : 3.4.0-v_874 already exists in local
repository.
[INFO] org.eclipse.equinox.app : 1.1.0-v20080421-2006 already exists in
local repository.
[INFO] org.eclipse.emf.common : 2.4.0-v200806091234 already exists in local
repository.
[INFO] org.eclipse.wst.server.core : 1.1.0-v20080530 already exists in local
repository.
[INFO] org.eclipse.jem.util : 2.0.100-v200805140020 already exists in local
repository.
[INFO] [antrun:run {execution: backup}]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [eclipsepde:validatemanifest {execution: validate-bundle-classpath}]
[INFO] [compiler:compile]
[INFO] Compiling 57 source files to
/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.st.core/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/jaxb/NamespacePrefixMapperImpl.java:[20,43]
package com.sun.xml.internal.bind.marshaller does not exist

/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/jaxb/NamespacePrefixMapperImpl.java:[36,47]
cannot find symbol
symbol: class NamespacePrefixMapper
public class NamespacePrefixMapperImpl extends NamespacePrefixMapper {

/media/INTERCHANGE/was_ce/ger_devtool_src/plugins/org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/jaxb/JAXBUtils.java:[75,22]
setProperty(java.lang.String,java.lang.Object) in javax.xml.bind.Marshaller
cannot be applied to
(java.lang.String,org.apache.geronimo.st.core.jaxb.NamespacePrefixMapperImpl)


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
    at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
    at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
    at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
    ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 57 seconds
[INFO] Finished at: Mon Aug 11 17:41:10 CST 2008
[INFO] Final Memory: 31M/97M
[INFO]
------------------------------------------------------------------------*"

Does anyone has any idea about my questions?

Thanks a lot!


Delos

2008.08.11

Mime
View raw message