[Biojava-dev] Build system changes

Thomas Down thomas at derkholm.net
Sat Jan 17 15:41:27 EST 2004


Hi...

I've been having a bit of a tidy up in the build.xml file.
The main change is that I've removed all the `run a subset
of tests' targets (symboltests, ontotests, etc.).  Instead,
you can define a property to specify a subset of tests to run.
For example:

     ant -Dtest.subtree=org/biojava/bio/symbol runtests

runs all tests in the `symbol' package (ignoring subpackages).
Alternatively:

     ant -Dtest.subtree=org/biojava/bio/seq/** runtests

runs the tests in seq and all its subpackages.

Obviously, you can still use plain:

     ant runtests

To run the complete test suite.


I'm also considering a slightly more radical shakeup of the build
system.  Currently, when a build is launched, all the source is
copied into ant-build before compilation.  This was a good idea
when we had separate core and jdk1.4 sources, but isn't needed
now.  As far as I can tell, it just slows the build down and
causes problems with tools like the jEdit ErrorList plugin.

Is anyone keen to keep this copying step?  Otherwise, I'll remove
it sometime next week,


     Thomas.


More information about the biojava-dev mailing list