[jira] [Commented] (XMLBEANS-499) xmlbeans2.6.0.jar contians duplicate class files
[ https://issues.apache.org/jira/browse/XMLBEANS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14258877#comment-14258877 ] Daniel Bramblett commented on XMLBEANS-499: --- Download the binary jar then unzip (I simply changed the .jar extension to .zip and proceeded) it which will remove the duplicate .class files (8 in this case) then use the jar tool to recreate the .jar file. The command is: jar cf (path)\xmlbeans-2.6.0.jar -C (unzipped folder path) . Don't forget the period at the end of the command. Then I copied the new xmlbeans-2.6.0.jar into my lib directory and all is now well. Hope this helps someone else! :-) xmlbeans2.6.0.jar contians duplicate class files Key: XMLBEANS-499 URL: https://issues.apache.org/jira/browse/XMLBEANS-499 Project: XMLBeans Issue Type: Bug Affects Versions: Version 2.6 Reporter: Peter Klerehag The xlmbeans-2.6.0.jar contains some duplicate class files which in some cases can generate problems with classloading. It is mainly under /org/apache/xmlbeans/xml/stream/ but there is some other locations as well Did following and there you clearly see 2x of ReferenceResolver unzip -l xmlbeans-2.6.0.jar | grep Resolver.class 394 2012-07-23 15:42 org/apache/xmlbeans/xml/stream/ReferenceResolver.class 394 2012-07-23 15:42 org/apache/xmlbeans/xml/stream/ReferenceResolver.class 214 2012-07-23 15:42 org/apache/xmlbeans/impl/common/PrefixResolver.class 45339 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.class 11284 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscResolver.class 26162 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.class 3524 2012-07-23 15:42 org/apache/xmlbeans/impl/tool/SchemaImportResolver.class 1069 2012-07-23 15:42 org/apache/xmlbeans/impl/store/Locale$DefaultEntityResolver.class -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org
[jira] [Commented] (XMLBEANS-499) xmlbeans2.6.0.jar contians duplicate class files
[ https://issues.apache.org/jira/browse/XMLBEANS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14172306#comment-14172306 ] Andreas Lenerz commented on XMLBEANS-499: - The problem appears for the target xmlpublic.classes of the build script where the classes are copied to a second location. Changing the target to: {code:xml} target name=xmlpublic.classes depends=dirs, jsr173_1.0.jars, xmlinputstream.classes mkdir dir=build/classes/xmlpublic/ javac srcdir=src/xmlpublic sourcepath=src/xmlinputstream destdir=build/classes/xmlpublic source=${javac.source} target=${javac.target} debug=on classpath pathelement location=build/lib/jsr173_1.0_api.jar/ pathelement location=build/classes/xmlinputstream// /classpath /javac ... {code} solves the problem for me and allows to rebuild and sign the jar. xmlbeans2.6.0.jar contians duplicate class files Key: XMLBEANS-499 URL: https://issues.apache.org/jira/browse/XMLBEANS-499 Project: XMLBeans Issue Type: Bug Affects Versions: Version 2.6 Reporter: Peter Klerehag The xlmbeans-2.6.0.jar contains some duplicate class files which in some cases can generate problems with classloading. It is mainly under /org/apache/xmlbeans/xml/stream/ but there is some other locations as well Did following and there you clearly see 2x of ReferenceResolver unzip -l xmlbeans-2.6.0.jar | grep Resolver.class 394 2012-07-23 15:42 org/apache/xmlbeans/xml/stream/ReferenceResolver.class 394 2012-07-23 15:42 org/apache/xmlbeans/xml/stream/ReferenceResolver.class 214 2012-07-23 15:42 org/apache/xmlbeans/impl/common/PrefixResolver.class 45339 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.class 11284 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscResolver.class 26162 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.class 3524 2012-07-23 15:42 org/apache/xmlbeans/impl/tool/SchemaImportResolver.class 1069 2012-07-23 15:42 org/apache/xmlbeans/impl/store/Locale$DefaultEntityResolver.class -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org
[jira] [Commented] (XMLBEANS-499) xmlbeans2.6.0.jar contians duplicate class files
[ https://issues.apache.org/jira/browse/XMLBEANS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13631588#comment-13631588 ] Shouvik Basu commented on XMLBEANS-499: --- problem appears in the below package org.apache.xmlbeans.xml.stream there are numerous files repeated xmlbeans2.6.0.jar contians duplicate class files Key: XMLBEANS-499 URL: https://issues.apache.org/jira/browse/XMLBEANS-499 Project: XMLBeans Issue Type: Bug Reporter: Peter Klerehag The xlmbeans-2.6.0.jar contains some duplicate class files which in some cases can generate problems with classloading. It is mainly under /org/apache/xmlbeans/xml/stream/ but there is some other locations as well Did following and there you clearly see 2x of ReferenceResolver unzip -l xmlbeans-2.6.0.jar | grep Resolver.class 394 2012-07-23 15:42 org/apache/xmlbeans/xml/stream/ReferenceResolver.class 394 2012-07-23 15:42 org/apache/xmlbeans/xml/stream/ReferenceResolver.class 214 2012-07-23 15:42 org/apache/xmlbeans/impl/common/PrefixResolver.class 45339 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.class 11284 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscResolver.class 26162 2012-07-23 15:42 org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.class 3524 2012-07-23 15:42 org/apache/xmlbeans/impl/tool/SchemaImportResolver.class 1069 2012-07-23 15:42 org/apache/xmlbeans/impl/store/Locale$DefaultEntityResolver.class -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org