You need to have these softwares installed to be able to build BTM:
The project uses GIT as it's source code control system.
The source can be checked out anonymously using:
git clone git://git.codehaus.org/btm-git.git
The project uses Apache Maven 2 as it's build tool.
Go to the top level directory of the project and type:
This will build BTM locally, run tests, build javadoc and install the generated artifacts in your local repository.
Because BTM supports JDBC3 and JDBC4 at the same time, setting up an IDE in a way that there are no errors can be "tricky". See these links for an example of how an IDE can be configured.
Configuring IntelliJ IDE