Target common to most InterMine project build files

Common targets

clean
clean-allclean this project and all dependencies
compile
jar produce jar/war
generate create generated code
action do the action for this project, if any
javadocbuild javadoc to build/javadoc

Test project targets

defaultwill produce a jar *and* run tests
test
test-alltest all dependencies as well as this project

To run a single test class:

ant -Dtest.includes=org/intermine/ClassToTest.class

dbmodel targets

build-dbbuild the objectstore

Webapp project targets

release-webapp deploy to tomcat
remove-webapp remove from tomcat

Production webapp targets

build-db-userprofile initialise/clear the userprofile database (loads default templates too)
load-default-templates load default-template-queries.xml to the superuser account
write-userprofile-xmlexports user profile database xml file to build/userprofile.xml
read-userprofile-xmlimports user profile database from build/userprofile.xml
drop-precomputed-tables
precompute-queries
precompute-queries-test
precompute-templates

Targets specific to testmodel/dbmodel

insert-data-unittest insert test data into database