commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: [GUMP@vmgump]: Project commons-math (in module jakarta-commons) failed
Date Sun, 05 Mar 2006 22:03:19 GMT

"Phil Steitz" <phil.steitz@gmail.com> wrote in message 
news:8a81b4af0603051355l5e75b8a6ifce4dcba6bb2da7f@mail.gmail.com...
On 3/5/06, Bill Barker <wbarker@wilshire.com> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message