Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

BPMN2-Modeler/DeveloperTutorials/HowToStartContributing

< BPMN2-Modeler‎ | DeveloperTutorials
Revision as of 16:40, 15 May 2017 by Ralph.soika.imixs.com (Talk | contribs) (The commit message)

If you want to contribute to this project, you can find a short tutorial below how to start:


Report a Bug

Frist of all take a look into the Issue Tracker of the BPMN2 Modeler project. There you can find current issues we are working on and we are pleased if you will help us here.

You can also report a new issue here.


Clone the Git Repository

If you want to debug the BPMN2 Modeler project or to start your own contribution you can checkout the latest development branch from the Git source code repository. The BPMN2 Modeler project is based on Gerrit which makes it easy to submit contributions for a review process.

To clone the repository use the following Git repository URL:

ssh://[USER ID]@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git

where [USER ID] is your committer user id.

When you clone the repository, you will find a lot of branches. In most cases it is sufficient to checkout only the master branch or the branch pointing to one of the Eclipse major releases you are working on (e.g. mars, neon,...)

BPMN2Modeler_DeveloperTutorials_HowToStartContributing-01

Note: The master branch contains the release for the next Eclipse version. For the current Eclipse IDE checkout the corresponding branch (e.g. neon).

Import the BPMN2 Modeler project into your Workspace

Now you can import the BPMN2 Modeler project into your workspace

Choose "Import -> Maven -> existing maven project"

BPMN2Modeler DeveloperTutorials HowToStartContributing-02.png

and select your local repository location (e.g. ~/git/org.eclipse.bpmn2-modeler/)

BPMN2Modeler DeveloperTutorials HowToStartContributing-03.png

In most cases the following plug-in modules of the BPMN2-Modeler are sufficient:

* org.eclipse.bpmn2.modeler
* org.eclipse.bpmn2.modeler.core
* org.eclipse.bpmn2.modeler.ui

Next you can open the plugin.xml file from the subproject 'org.eclipse.bpmn2.modeler.core' project and start the plugin directly from your IDE. You can also launch the plugin in the debug mode form here:

BPMN2Modeler DeveloperTutorials HowToStartContributing-04.png


Commit your Changes to Gerrit

As far as committing changes to the Gerrit git repo, you should be able to just push to gerrit, and this will create a change record for review. You need to create a eclipse account if you have not done yet. Please have a look at the Gerrit Wiki Page if you run into problems.

The commit message

To commit your changes the commit message have to be in the right format. First of all make sure hat you have the bugzilla issue id. If you not yet have an existing issue ID in Bugzilla, start creating a new issue first.

The commit message has the following format

Bug 516607 

details about your fix...Participant

Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Ralph Soika <ralph.soika@imixs.com>

The 'Signed-off-by' message can be generated automatically by Eclipse when you press the 'Add-singed-off-by' icon:

BPMN2Modeler DeveloperTutorials HowToStartContributing-05.png

If you start the first line of the commit message with Bug 12345 or [12345], than the bug will be linked automatically with the commit in Gerrit. (See also here) The Change-ID can be ignored. This ID is generated automatically during the commit!

You will find more information about the Gerrit Commit Message here.

After you have pushed your changes, you can track the review process via the Gerrit Link listed in your git message or bugzilla issue.

Back to the top