From 83dcc8ef7149951f9cae4a639f7cf9f4fdedcb7e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 7 Oct 2011 00:46:24 -0400 Subject: [PATCH] Include hamcrest-core explicitly in test classpath. Otherwise I get errors like: [junit] Testcase: initializationError(nom.tam.fits.test.AsciiTableTest): Caused an ERROR [junit] org/hamcrest/SelfDescribing [junit] java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing I don't have this problem with my Gentoo ebuid, because (I think) ANT_TASKS="ant-junit4" eant is taking care of the classpath adjustment automatically (hamcrest-core is listed in /usr/share/junit-4/package.env as a dependency). --- build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/build.xml b/build.xml index 9472ab7..1228bda 100644 --- a/build.xml +++ b/build.xml @@ -13,6 +13,7 @@ +