harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony
Date Fri, 16 Oct 2009 02:22:31 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766379#action_12766379
] 

Daniel Kulp commented on HARMONY-6226:
--------------------------------------


As an update, I just tried M11.

Scenario 1 still fails (checkstyle plugin doesn't work)


Scenario 2 still has tests failing.   Most in EasyMock with:
testLogParamsSubstitutionWithThrowable(org.apache.cxf.common.logging.LogUtilsTest)  Time elapsed:
0.001 sec  <<< ERROR!
java.lang.NoClassDefFoundError: sun/reflect/ReflectionFactory                            
                             
        at org.easymock.classextension.internal.objenesis.instantiator.sun.SunReflectionFactoryInstantiator.<init>(SunReflectionFactoryInstantiator.java:24)
                                                                                         
                                   
        at org.easymock.classextension.internal.objenesis.strategy.StdInstantiatorStrategy.newInstantiatorOf(StdInstantiatorStrategy.java:69)


Scenario 3 gets furthur now.   It now dies in the CXF code generator when they call velocity
results in a stack overflow:
        at org.apache.cxf.tools.common.VelocityWriter.write(VelocityWriter.java:47)
        at java.io.Writer.write(Writer.java:149)
        at org.apache.cxf.tools.common.VelocityWriter.write(VelocityWriter.java:47)
        at java.io.Writer.write(Writer.java:149)
        at org.apache.cxf.tools.common.VelocityWriter.write(VelocityWriter.java:47)
        at java.io.Writer.write(Writer.java:149)
  .......





> 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.


Mime
View raw message