[Biojava-l] tipical dumb user problem (BUILD FAILED)

Thomas Down thomas at derkholm.net
Wed Feb 4 08:58:07 EST 2004


Once upon a time, Dan Bolser wrote:
>                                                                                                 
> Test.java uses or overrides a deprecated API.
>      [javac] Note: Recompile with -deprecation for details.
>      [javac] 100 errors
>                                                                                                 
> BUILD FAILED
> file:/home/dmb/BioJava/biojava-1.30/build.xml:291: Compile failed; see
> the compiler error output for details.
>                                                                                                 
A
> I don't know what this means or where to go next!
>                                                                                                 
> Any help is appreciated - I have binaries working, but I wanted to build
> tests to make sure things were generally OK on my system.
>                                                                                                 
> ant package
> ant javadocs
>                                                                                                 
> Worked fine, but
>                                                                                                 
> ant runtests
>                                                                                                 
> Gave final message above (and many more).


You don't give the actual error messages -- my guess it that
they're complaining about not finding the TestCase class.  To
run the test suite, you need to download JUnit (http://www.junit.org/)
and add junit.jar to your CLASSPATH.

The test suite is aimed mainly at people who are actively developing
the library, rather than as something to be run whenever you install
it.  The tests are also run by the nightly build system, and you can
see results at:

   http://www.derkholm.net/autobuild/testreports/

Thomas.


More information about the Biojava-l mailing list