Skip to content

Building & Running

sammacbeth edited this page Jul 7, 2011 · 2 revisions

Requirements

To build presage you will need the following:

  • A JDK, compatible with Java 1.6.
  • Git - to download the code.
  • Maven2 - to automate the build and fetch dependencies. You don't have to use it, but you'll be making it much harder for yourself if you don't!

The following sections give platform specific instructions (including the above) for the build process.

Building on Debian Linux

This gist will take you through the steps to build presage2 on Linux using Maven2.

Building with Eclipse IDE

  • Get the latest version of eclipse (with comes with maven support), or just install the m2e plugin in an existing eclipse install.
  • Install the egit eclipse plugin for git support and git integration for m2e.
  • In eclipse: File -> New -> Project...
  • In the new project menu: Maven -> Checkout Maven project from SCM
  • ...
  • Now you will have a project for each module of presage2 which you can add as dependencies for your project.

Building the Docs

Running the mvn site command in the root folder of the source will build the javadocs. They can then be found in target/site/apidocs/.

Clone this wiki locally