You have to follow two rules only when contributing:
- Produce readable code
- No Tests -> No Merge!
If you plan to contribute a feature or bugfix to this project or just the want to have a closer look at the sources, the following steps describe the setup of the development environment.
-
Start an Eclipse IDE v4.4 (Luna) or later that has the Plug-in Development Environment (PDE) installed. If you want to use a fresh Eclipse installation, you can download the Eclipse IDE for Eclipse Committers package from the Eclipse Downloads page. It contains everything you need.
-
Clone the git repository from https://github.com/MoreUnit/MoreUnit-Eclipse.git
-
The necessary projects are located at the root of the repository. Import all of them into your workspace.
-
The
org.moreunit.build
project contains suitable Target Platform Definitions. Open one of them and select the Set as Target Platform link.
Now you are ready to hack the sources.
If you wish to verify the setup, you can run the Maven/Tycho build with the mvn clean install
launch configuration.
MoreUnit-Eclipse uses Maven/Tycho to build, the master pom file can be found in the org.moreunit.build
project.
Preliminary information:
- Ensure Java used by your Maven installation is java 11
- Check that MoreUnit:eclipse-update-site is cloned besides this repository
- Ensure you are logged from the command-line to GitHub,
gh auth login
Run the following commands:
cd org.moreunit.build
./release.sh
By contributing code you automatically agree with the following points regarding licensing:
- You will only Submit Contributions where You have authored 100% of the content.
- You will only Submit Contributions to which You have the necessary rights. This means that if You are employed You have received the necessary permissions from Your employer to make the Contributions.
- Whatever content You Contribute will be provided under the Project License.