[ http://jira.codehaus.org/browse/MXMLBEANS-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corridor Software Developer closed MXMLBEANS-34. ------------------------------------------------ Resolution: Fixed Fix Version/s: 2.0.1 Committed. Updating the snapshot. > xmlbeans compilation failure on *some* windows machines > ------------------------------------------------------- > > Key: MXMLBEANS-34 > URL: http://jira.codehaus.org/browse/MXMLBEANS-34 > Project: Maven 2.x Xmlbeans Plugin > Issue Type: Bug > Affects Versions: 2.0.1 > Environment: Some windows environments > Reporter: Kevan Miller > Assignee: Corridor Software Developer > Fix For: 2.0.1 > > Attachments: output.zip > > > Some (but not all) windows users are having a problem building Geronimo. The > error is an xmlbeans compilation failure. It seems that a pom file is being > added to the CLASSPATH. An error occurs attempting to load this pom file as a > zip file. Subsequent to this, compilation errors occur. Here's the most > relevant output. I'll attach a zip file that contains complete -X output... > We've only seen this error on Windows. No other OS seems to have this > problem. Also, some Windows users report that they are able to build without > a problem... > [INFO] [xmlbeans:xmlbeans {execution: default}] > [DEBUG] The schema Directory is > D:\t\modules\geronimo-openejb-builder\src\main\schema > [DEBUG] Artifact count: 110 > [DEBUG] looking for artifact schemas. > [DEBUG] Creating a list of config files. > [DEBUG] A list was given. > [DEBUG] Adding file > D:\t\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml > [DEBUG] looking for resolver catalog at > D:\t\modules\geronimo-openejb-builder\src\main\catalog\resolver-catalog.xml > Time to build schema type system: 0.079 seconds > Time to generate code: 0.171 seconds > error: error reading > C:\m2\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom; > error in opening zip file > Note: Some input files use or override a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > 1 error > BUILD FAILED > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] XmlBeans compile failed: > xml ErrorLoading schema file > D:\t\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd > xml ErrorLoading config file > D:\t\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml > [INFO] > ------------------------------------------------------------------------ > [DEBUG] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: XmlBeans compile > failed: > xml ErrorLoading schema file > D:\t\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd > xml ErrorLoading config file > D:\t\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > 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:585) > 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.codehaus.mojo.xmlbeans.XmlBeansException: XmlBeans compile > failed: > xml ErrorLoading schema file > D:\t\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd > xml ErrorLoading config file > D:\t\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml > at > org.codehaus.mojo.xmlbeans.AbstractXmlBeansPlugin.execute(AbstractXmlBeansPlugin.java:280) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) > ... 16 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email