Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

Requirement and installation

hmalphettes edited this page Jun 16, 2011 · 2 revisions

Requirements

Optional Requirements:

  • Apache-buildr with the debian package gem to generate deb packages (doc to be completed).

Installation

Environment properties:

MAVEN3_HOME=${path_to_mvn}
P2_DIRECTOR_HOME=${path_to_unzip_p2director}

Choose a folder where the tycho-p2-scripts are downloaded.

git clone https://github.com/intalio/tycho-p2-scripts
git checkout branch_support

Usually the home of the script is also defined in an environment variable:

P2_RELEASE_HOME=${path_to_tycho_p2_scripts_checkout}

Optional environment variable

More environment variables are defined. The default values are defined in the shell script: ${P2_RELEASE_HOME}/default_env

The first phase of the Release and Build Process consists of computing all the build parameters and saving them into a file. This file can be reviewed.

HTTPD_ROOT_PATH

p2 repositories are static files. They are usually hosted on an http server. Each built repository is deployed relatively to the shell variable HTTPD_ROOT_PATH By default,

HTTPD_ROOT_PATH=$HOME/p2repo   #the root folder served by your webserver: http://yourhost/p2repo