Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseSCADA/Development/Build"

m
Line 40: Line 40:
  
 
If you want .rpm files to be build you will need to install "rpmbuild" locally and add the "rpm" profile
 
If you want .rpm files to be build you will need to install "rpmbuild" locally and add the "rpm" profile
  mvn -P rpm clean verify
+
  mvn -Prpm clean verify
  
 
If you want .deb files to be build you will need to add the "deb" profile:
 
If you want .deb files to be build you will need to add the "deb" profile:
  mvn -P deb clean verify
+
  mvn -Pdeb clean verify
  
 
It is possible to combine multiple profiles, like:
 
It is possible to combine multiple profiles, like:
  
  mvn -P deb -P rpm clean verify
+
  mvn -Pdeb -Prpm clean verify
  
 
== Maven/Tycho Profiles ==
 
== Maven/Tycho Profiles ==

Revision as of 08:53, 15 November 2013

Building Eclipse SCADA


About

This document describes Eclipse SCADA version 0.1.0. For newer versions you might need to replace the version in some commands.

For a description of the different repositories see EclipseSCADA/Plan/RepositoryLayout.

Pre-Requisites

  • Maven 3.0+
  • Java 1.7 (JDK)
  • Git

Full Build

First it is best to create an empty build directory for starting:

mkdir build
cd build

In order to perform a full build you will need to check out all repositories first:

git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.external.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.utils.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.chart.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.protocols.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.base.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.core.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.hmi.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.ide.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.deploy.git
git clone git://git.eclipse.org/gitroot/eclipsescada/org.eclipse.scada.releng.git

Now trigger the aggregated build script:

cd org.eclipse.scada.releng/aggregator
mvn clean verify

If you want .rpm files to be build you will need to install "rpmbuild" locally and add the "rpm" profile

mvn -Prpm clean verify

If you want .deb files to be build you will need to add the "deb" profile:

mvn -Pdeb clean verify

It is possible to combine multiple profiles, like:

mvn -Pdeb -Prpm clean verify

Maven/Tycho Profiles

The following profiles work on all repositories:

deb
create debian package file from P2 repository
rpm
create redhat package file from P2 repository. You need the "rpmbuild" command on your local system in addition.
eclipse-sign
sign resulting P2 jars (only works on eclipse build system)
eclipse-hudson
copy build artifacts to local directory "../output" and eclipse download location (only works on eclipse build system)

Eclipse Hudson instance

https://hudson.eclipse.org/scada/

Back to the top