-
Notifications
You must be signed in to change notification settings - Fork 4
Requirement and installation
-
Unix Operating System. (tested on Ubuntu and Centos)
-
bash and perl to execute the scripts.
-
maven-3.0.3 and more recent
-
git or svn for the source control support
-
http://www.intalio.org/public/maven2/org/eclipse/rt/EclipseRTp2HeadlessDirector/ p2director-extended unzipped somewhere. This is the build of https://github.com/intalio/org.eclipse.equinox.p2.director.extended
-
Apache-buildr with the debian package gem to generate deb packages (doc to be completed).
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}
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.
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