"Phil Steitz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 3/5/06, Bill Barker <[EMAIL PROTECTED]> wrote: >> Niall reminded me of this. Math has at least one test that requires >> swingui, which isn't there in JUnit HEAD. As a result, Math was changed >> to >> depend on the packaged junit-3.8.x.jar so that it would still build. >> Most >> other projects work fine with JUnit HEAD, so they don't even get >> attempted >> while JUnit is failing. >> >> Ant only has an optional dependancy on JUnit HEAD, so it simply chooses >> not >> to create ant-junit.jar when it builds. The result is that Math doesn't >> have ant-junit.jar available to it, so it fails. >> >> Of course, the best thing would be to convince the JUnit people to fix >> the >> broken commit that is causing it to fail :). A temporary solution would >> be >> to change Math depend on JUnit HEAD, and switch it back when JUnit starts >> building again. > >I would be happy to do that if I know where the dependency was. Are >there any imports / class names that I could search for to find this? >>
Well, the Gump dependancy is done by: $ svn co https://svn.apache.org/repos/asf/gump/metadata/ $ cd metadata/project $ vi jakarta-commons.xml # s/junit3/junit $ svn ci If you want to check in build.xml (so it's no longer the pure Maven one), then you could test for the availability of org.apache.tools.ant.taskdefs.optional.junit.JUnitTask (since that's what's not being found at the moment), and not run the tests if it's not there. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]