Prerequisites

  • Sources compilation require Java SE 8 or higher.
  • The project is built with Apache Maven 3+ Download and install (Maven 2.x build will start but fail with errors)
  • set or export JAVA_HOME to point to JDK
    • For example in Ubuntu: export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
  • Get Airavata source checked out from Airavata trunk.

Command line

Build the distribution

  • cd airavata-trunk
  • mvn clean install
  • To build without running tests
    • mvn clean install -Dmaven.test.skip=true
  • The compressed binary distribution is created at /modules/distribution/target

Now What?

Once you have built the binaries the best thing to do is take a look at our Airavata in Five Minutes document which will help you get up and running.

Build profiles

One of the salient features of Airavata Airavata is ability to use modules by themselves or as an integrated solution. The following modules can be build independently.

  • XBaya Workflow GUI:
    • mvn clean install -Dmodule=xbaya-gui
  • GFac Application Management POJO version:
    • mvn clean install -Dmodule=gfac-core
  • GFac Axis2 Service:
    • mvn clean install -Dmodule=gfac-axis2
  • WS-Messenger web service messaging system:
    • mvn clean install -Dmodule=ws-messenger
  • Sample Axis2 Web Services:
    • mvn clean install -Dmodule=simple-math-service

Eclipse preparation

Eclipse workspace configuration

  • Build first using command line (see above)
  • Regenerate .project/.classpath files
  • maven eclipse:eclipse
  • Open eclipse and import projects from airavata-trunk:
    • Import > Existing Maven Projects and point to trunk checkout directory.
    • You can import all or selective projects