You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/06/05 21:05:07 UTC

[jira] Created: (HARMONY-6226) Cannot build Apache CXF with Harmony

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.


[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766478#action_12766478 ] 

Tim Ellison commented on HARMONY-6226:
--------------------------------------

Thanks for the update Daniel,

Scenario 1 = not much to go on there

Scenario 2 = looks like a reference to a non-API type   "sun.reflect.ReflectionFactory "  which means te code is not going to be portable to alternative implementations.  Unless we can figure out what that type is supposed to do then I don't see how we can progress that particular case.


Scenario 3 = looks like a compatibility issue with subclassing Writer?  I've put in a fix at r825817 that I hope will fix that problem.  Please can you check again?  (I can send a replacement JAR if required)

Regards,
Tim


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


[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717689#action_12717689 ] 

Tim Ellison commented on HARMONY-6226:
--------------------------------------

The most recent builds are here (temporarily)

http://people.apache.org/~hindessm/m10/

These are the M10 candidates we are currently voting upon.

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


[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766492#action_12766492 ] 

Hudson commented on HARMONY-6226:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #504 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/504/])
    Part of  (Cannot build Apache CXF with Harmony)

Re-implement write(String) using write(String, int, int) and
re-implement write(String, int, int) using write(char[], int, int) to be consistent with RI use of abstract methods.


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


[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717682#action_12717682 ] 

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


Are there any recent snapshot builds that I could test with?   It looks like the snapshots available on the downloads page haven't been updated in 3 months.



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


[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HARMONY-6226) Cannot build Apache CXF with Harmony

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721066#action_12721066 ] 

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


Just tried with the M10 binaries:
Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r782693, (Jun 12 2009), Linux/em64t/gcc 4.1.2, release build
http://harmony.apache.org

And the first issue is still broken.  ("mvn install" fails in checkstyle)

The second (mvn -Pnochecks) gets further, but  a bunch of tests fail.  It may be easymock using some internal sun classes that Harmony doesn't have.  (note: they DO pass on the IBM jdk)

The third (mvn  -Pfastinstall install) still fails with the same error.

Thus, Harmony is still not usable to build CXF.

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