You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2009/06/09 16:00:07 UTC
[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with
Harmony
[ https://issues.apache.org/jira/browse/HARMONY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717675#action_12717675 ]
Tim Ellison commented on HARMONY-6226:
--------------------------------------
It looks like you are running on harmony r761593 which is M9 (not M10 as indicated above), right?
Also looks like you are hitting HARMONY-6074, and possibly others.
Please retry with M10 (which should be declared shortly) and report any failures on that build.
> Cannot build Apache CXF with Harmony
> ------------------------------------
>
> Key: HARMONY-6226
> URL: https://issues.apache.org/jira/browse/HARMONY-6226
> Project: Harmony
> Issue Type: Bug
> Affects Versions: 5.0M10
> Environment: dkulp@dilbert ~/working/cxf $ java -version
> Apache Harmony Launcher : (c) Copyright 1991, 2008 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r761593, (Apr 3 2009), Linux/em64t/gcc 4.3.2, release build
> http://harmony.apache.org
> dkulp@dilbert ~/working/cxf $ uname -a
> Linux dilbert 2.6.29-gentoo #1 SMP PREEMPT Tue Mar 24 22:17:13 EDT 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz GenuineIntel GNU/Linux
> Reporter: Daniel Kulp
>
> Apache CXF trunk does not build with Harmony. (It all works with the Sun and IBM JDK's)
> If I invoke a default build "mvn install", it dies fairly quickly with an error trying to run the checkstyle plugin.
> Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST
> Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST
> ...... bunch of those .............
> Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST
> [INFO] Starting audit...
> /home/dkulp/working/cxf/common/common/src/test/java/org/apache/cxf/helpers/ServiceUtilsTest.java:0: Got an exception -
> java.lang.ClassCastException
> ............ bunch more like that ..................
> /home/dkulp/working/cxf/common/common/src/main/java/org/apache/cxf/staxutils/StaxStreamFilter.java:0: Got an exception - java.lang.ClassCastException
> Audit done.
> If I turn off the source checks with "mvn -Pnochecks install", it dies trying to start surefure to run the unit tests.
> [DEBUG] Using JVM: /tmp/harmony-jdk-761593/jre/bin/java
> [INFO] Surefire report directory: /home/dkulp/working/cxf/common/common/target/surefire-reports
> Forking command line: /bin/sh -c cd /home/dkulp/working/cxf/common/common && /tmp/harmony-jdk-761593/jre/bin/java -ea -jar /tmp/surefirebooter42815.jar /tmp/surefire42813tmp /tmp/surefire42814tmp
> Uncaught exception in main:
> java.lang.ClassNotFoundException: org.apache.maven.surefire.booter.SurefireBooter
> at java.net.URLClassLoader.findClass(URLClassLoader.java:897)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:489)
> at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:871)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:72)
> If I turn off the tests with "mvn -Pfastinstall install", it cannot run the schema compiler:
> org.apache.maven.lifecycle.LifecycleExecutionException: path length exceeds maximum supported length
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
> 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:301)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at java.lang.reflect.Method.invoke(Method.java:317)
> 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.MojoExecutionException: path length exceeds maximum supported length
> at org.codehaus.mojo.jaxb2.XjcMojo.execute(XjcMojo.java:352)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
> ... 13 more
> Caused by: java.io.IOException: path length exceeds maximum supported length
> at java.io.File.isDirectoryImpl(File.java)
> at java.io.File.isDirectory(File.java:783)
> at java.io.File.getAbsoluteName(File.java:1391)
> at java.io.File.toURL(File.java:1375)
> at com.sun.tools.xjc.Options.parseArgument(Options.java:415)
> at com.sun.tools.xjc.Driver$OptionsEx.parseArgument(Driver.java:451)
> at com.sun.tools.xjc.Options.parseArguments(Options.java:690)
> at com.sun.tools.xjc.Driver.run(Driver.java:209)
> at org.codehaus.mojo.jaxb2.XjcMojo.execute(XjcMojo.java:301)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.