Bug#527308: Class-Path: not there in 4.8.2-1
Rene Engelhard
rene at debian.org
Fri Jun 25 12:21:23 UTC 2010
# didn't test squeezes version (4.8.1-3 currently) yet
found 527308 4.8.2-1
thanks
OOo uses junit4 for their Java (unit) tests and just has a classpath entry to
$(OOO_JUNIT_JAR), in this case /usr/share/java/junit4.jar.
In my case, this results in
1: JUnit version 4.8.2
1: Exception in thread "main" java.lang.NoClassDefFoundError:
org/hamcrest/SelfDescribing
1: at java.lang.ClassLoader.defineClass1(Native Method)
1: at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
1: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
* debian/build.xml:
Add hamcrest-core.jar in Class-Path using junit4.jar Manifest file.
Thanks to Florian Weimer. (Closes: #527308)
Looks like that never actually appear(s/ed) in the actual jar - or it regressed.
I've created a configure check for me/us, but I think this should be fixed anyways..
Reopening this bug.
Grüße/Regards,
René
More information about the pkg-java-maintainers
mailing list