Target common to most InterMine project build files
Common targets
| clean |
|
| clean-all | clean this project and all dependencies
|
| compile |
|
| jar | produce jar/war
|
| generate | create generated code
|
| action | do the action for this project, if any
|
| javadoc | build javadoc to build/javadoc
|
Test project targets
| default | will produce a jar *and* run tests
|
| test |
|
| test-all | test all dependencies as well as this project
|
To run a single test class:
ant -Dtest.includes=org/intermine/ClassToTest.class
dbmodel targets
| build-db | build 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-xml | exports user profile database xml file to build/userprofile.xml
|
| read-userprofile-xml | imports 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
|