Title: Building Apache Stanbol
To build Stanbol from source you need Java 6 and maven 2.2.1 + (version as defined in the pom). You probably need also: $ export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=128M
Fetch the sources from the Apache code repository
$ svn co http://svn.apache.org/repos/asf/incubator/stanbol/trunk stanbol
From the source directory run:
$ mvn clean install
_Updating sources_: From your Stanbol root directory call $ mvn clean
, then % svn update
and build a new version with $ mvn clean install
.
Now, several launchers should be available under the launchers/
directory:
* The _"stable launcher"_ provides you with the most stable components only,
* the _"full launcher"_ contains all major components available,
* the _"stateless launcher"_ lets you work with Apache Stanbol components in offline mode and
* the _"kres launcher"_ activates the rules machinery only.
You can launch the server with:
$ java -Xmx1g -jar full/target/org.apache.stanbol.launchers.full-0.9-SNAPSHOT.jar
Your instance is then available on . You may change the default
port number by passing a `-p 9090` options to the commandline launcher. Use -h
to see more options.
Upon first startup, a folder named `sling/` is created in the current folder. This folder
contains Stanbol's persistent data, deployment configuration and logs.
__HTTP entry points: Web view and REST API__
The web interface of your Apache Stanbol installation provides information for the main HTTP entry points. Each resource also comes with a web view that documents the matching RESTful API for applications.