Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#37649 - [apache-ant] package contains unrelated libraries
Attached to Project:
Arch Linux
Opened by Cyrill Sizov (redphoenix) - Tuesday, 05 November 2013, 09:48 GMT
Last edited by Guillaume ALAUX (galaux) - Sunday, 19 January 2014, 19:30 GMT
Opened by Cyrill Sizov (redphoenix) - Tuesday, 05 November 2013, 09:48 GMT
Last edited by Guillaume ALAUX (galaux) - Sunday, 19 January 2014, 19:30 GMT
|
DetailsDescription:
Package apache-ant contains third party libraries in it. Compare a package`s lib folder and the one in a zip from http://ant.apache.org. My project uses asm v3.0 whereas the package contains asm-2.2.3.jar. It causes conflicts such as: java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor ... Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1366) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 17 more Please remove all third party libs from the package. Additional info: * package version(s) 1.9.2-3 * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Sunday, 19 January 2014, 19:30 GMT
Reason for closing: Fixed
Additional comments about closing: 1.9.3-2
Sunday, 19 January 2014, 19:30 GMT
Reason for closing: Fixed
Additional comments about closing: 1.9.3-2
Comment by Guillaume ALAUX (galaux) -
Sunday, 19 January 2014, 19:30 GMT
Fixed in 1.9.3-2. External dependencies are not part of the package any more. To use external JARs, one needs to manually add JARs and set their path in variable OPT_JAR_LIST that resides in /etc/apache-ant/ant.sh. I will add dependencies to Arch packages as optdep once these packages are created.