Bug 477721 - Decide on common principle to identify system protocols,
including base protocol in UML-RT model library

* define a new profile "SystemElements" and generate code from it
* add class utility to return System Elements types (System Protocol,
Base Protocol and System Class) 

* DSML Validation plugin generation with copyright and plugin
dependencies version added manually (DSML Generator did not generate
copyriight text and plugin versions)

Change-Id: I36d13b74ba71d4d9d1fd016e3605bb400b6dab8a
Signed-off-by: Asma Smaoui <asma.smaoui@cea.fr>
41 files changed
tree: 86a282c633b74ec89efcded5d91be9e724343642
  1. .gitattributes
  2. .gitignore
  3. .project
  4. .settings/
  5. CONTRIBUTING.md
  6. README.md
  7. documentation/
  8. epl-v10.html
  9. features/
  10. models/
  11. notice.html
  12. plugins/
  13. pom.xml
  14. releng/
  15. targetplatform/
  16. tests/
README.md

How to build

Components in this project are built using Maven and its Tycho plugins for the build of Eclipse artifacts. To build locally, simply execute the command line in the root directory:

mvn clean install

By default the build will be done using the latest Papyrus and Eclipse RELEASE target platform. By default it will build tooling, profile, core, migration, cpp, common and junit tests

Codegen

To run codegen from the releng/codegen/ location run the following command:

For the release:

mvn clean install -PusePapyrusReleases

For the Nightlies:

mvn clean install  -PusePapyrusNightlies

For the Milestones:

mvn clean install -PusePapyrusMilestones

RCPTT, product, and p2

Releng Profile

To build p2, rcp, main papyrusrt feature, product and run rcptt tests on this product, the following profile should be run

mvn clean install -Preleng

Other Streams

Nightly

Use the following command to run the build on the nightly target platform:

mvn clean install -Pneon-papyrusnightly

Milestone

Use the following command to run the build on the Latest Milestone target platform:

mvn clean install -Pneon-papyrusmilestone

Remarks and known issues

Known Issues

When launching the Junit tests on a windows machine you could meet the following error:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.25.0:test (default-test) on project org.eclipse.papyrusrt.umlrt.profile.tests: Unable to parse configuration of mojo org.eclipse.tycho:tycho-surefire-plugin:0.25.0:test for parameter excludes: Cannot assign configuration entry 'excludes' with value '**/*AllTests.java' of type java.lang.String to property of type java.util.List -> [Help 1]

This is probably a Tycho regression: https://bugs.eclipse.org/bugs/show_bug.cgi?id=496411