Apache Airavata

Follow instructions to get source code.

Assuming source code is checked out to airavata-trunk directory, for example:

svn co https://svn.apache.org/repos/asf/airavata/trunk/ airavata-trunk

Prerequisites

  • Sources compilation require Java SE 5 or higher.
  • The project is built with Apache Maven 3+ (suggested is 3.0.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

Command line

Build the distribution

cd airavata-trunk

mvn clean install

To build without running tests

mvn clean install -DskipTests

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

  • No labels