On 3/5/06, Phil Steitz <[EMAIL PROTECTED]> wrote:
> 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?

armadillo:~/apache/jakarta/commons-proper/math hen$ findj . | xargs grep swing

./src/test/org/apache/commons/math/distribution/NormalDistributionTest.java:
       junit.swingui.TestRunner.run(NormalDistributionTest.class);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to