commit | 3d3cff2ba9ac1a50f6c284eaadc0da453a6498df | [log] [tgz] |
---|---|---|
author | Asma Smaoui <asma.smaoui@cea.fr> | Tue Sep 06 10:12:15 2016 +0200 |
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | Fri Sep 09 08:48:11 2016 -0400 |
tree | 86a282c633b74ec89efcded5d91be9e724343642 | |
parent | 9aae5665ede14daac05afd4876f36ce901c3204d [diff] |
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>
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
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
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
Use the following command to run the build on the nightly target platform:
mvn clean install -Pneon-papyrusnightly
Use the following command to run the build on the Latest Milestone target platform:
mvn clean install -Pneon-papyrusmilestone
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