Bug 500757: RCPTT test failures cause product build to fail https://bugs.eclipse.org/bugs/show_bug.cgi?id=500757 Update test assertion to match new capsule-part label presentation. Change-Id: I0d6a0e471d61f813e865f579985fdc813e5dcb52
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