Include hamcrest-core explicitly in test classpath.
authorW. Trevor King <wking@drexel.edu>
Fri, 7 Oct 2011 04:46:24 +0000 (00:46 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 7 Oct 2011 04:48:54 +0000 (00:48 -0400)
commit83dcc8ef7149951f9cae4a639f7cf9f4fdedcb7e
treec36dcce78be15b08b31edc71eb3db5f6a6277422
parent4dc24a8158dd8fa7c13f38f9051dfc631b395914
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