Eclipse

Use Eclipse, at least Mars version

Maven

Use Maven 3.3.1 at least

Eclipse plugins

Install M2e plugin in your Eclipse

Install Tycho Configurator as an additional maven connector

No specific extra from papyrus

SysML

Have a look to the normative document of OMG: Embedded norm

Check your installation by a basic checkout, compilation

  • Clone the sysml 14 git repository git clone https://git.eclipse.org/r/papyrus/org.eclipse.papyrus-sysml.
  • Run maven at the root of the repo: mvn clean install; it should pass
  • Get sysml14 plugins in your eclipse workspace
  • Et “Voila” you are good to go.

Target Environment

We have developed a target-platform-configuration artifact located at /org.eclipse.papyrus-sysml/org.eclipse.papyrus.sysml14.targetdef/org.eclipse.papyrus.sysml14.targetdef.target

Open it and click at the upper right corner to set it has the target platform.

Product Life Management

The PLM is Maven with Tycho plugins for OSGI.

Run a default installation

mvn clean install

To build also the modules relatives to RCP and Product, please activate the following profile:

mvn clean install -Pproduct	

It could be necessary to use the following workaround to ensure the version of Mars plugins, you used to build against:

mvn clean install -Pproduct -Dtycho.localArtifacts=ignore

Generate and deploy the web site

mvn clean site site:stage-deploy scm-publish:publish-scm -Pdocumentation

A minimal iteration

This section describes the different steps relative to the integration of a new feature or to the correction of a bug: from bug definition, to requirement, to code integration through gerrit review with the continuous integration system.

  • Describe in Bugzilla the bug, feature you are working on. Please use the component SysML. And begins with [SysML 1.4] for Summary.
  • Get the code from the master with git,git clone https://git.eclipse.org/r/papyrus/org.eclipse.papyrus-sysml, and work on a local branch,
  • Add the new requirement in the different sysml 1.1 models located in the doc folder of the relevant plugin. have a look to SOP4: Requirement
  • Modify the code
  • Push on Gerrit ssh://{ECLISPEUSERLOGIN}@git.eclipse.org:29418/papyrus/org.eclipse.papyrus-sysml
  • Ask for a review https://git.eclipse.org/r/#/dashboard/self
  • After a few iteration, you code should be merged and accessible in the master.

Have a look to default rules miscellaneous.html

Back to top

Version: 0.8.0. Last Published: 2015-12-10.

Reflow Maven skin by Andrius Velykis.