BuildSystem

Overview

IRV uses Antas its build system. If using the IRV source distribution, the following targets are available.

See the Configurationsection for details on changing the database and J2EE options.

build

Compiles all of the Java files (including client, EJB, and model) into the ${java.build.dir}

clean

Removes all of the generated files (located in the ${build.dir})

acceptance

Executes the acceptance tests against the EJB server, after rebuilding and re-inserting the test data

tests

Executes the unit tests against the database, after rebuilding and re-inserting the test data

build.ejb

Creates the IRV EAR file (irv.ear) in ${build.dir}, after rebuilding

deploy

Deploys the IRV EAR file into the local JBoss the server, after rebuilding

build.client

Creates the client jar file (irv-client.jar) in the ${client.build.dir}, after rebuilding

db.create

Creates the database tables and permissions

db.destroy

Destroys the database tables

db.testdata

Populates the database with unit and acceptance test data

site

Generates the website using Forrest

site.dist

Packages up the website for transfer to the ECE machines

dist

Packages up the client, EAR, and source files for distribution