4 Star 2 Fork 1

Gitee 极速下载 / Eclipse-Corrosion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/eclipse/corrosion
克隆/下载
CONTRIBUTING.md 3.99 KB
一键复制 编辑 原始数据 按行查看 历史
Mickael Istria 提交于 2021-02-23 13:56 . Add clone link

Contributing to Corrosion

Reporting Issues

Issue reports and feature requests are always appreciated and are made in the Issues tab

Code for Corrosion

Clone to Eclipse IDE

Automatic Setup

The easiest way to get an IDE to work on Corrosion is to use the Oomph setup. If you use the Eclipse installer, have a look at this installation page. It will guide the installation and complete setup of a development environment for Corrosion.

If you already have an Eclipse installation, use the main menu entry File > Import ... and in the import wizard, select Oomph > Projects from Catalog. On the next wizard page select entry Eclipse Projects > Corrosion and follow the wizard until the IDE is set up for development on Corrosion.

Manual Setup

This option is for everyone who wants to set up an Eclipse instance manually, as an alternative to the automatic setup described above.

First, clone this repository to a local location of your choice.

For running Corrosion in a child Eclipse instance:

  • Use Eclipse for Eclipse Contributors or any version of the Eclipse IDE with the Eclipse Plug-in Development Environment plugins installed..
  • Import the following projects into the Eclipse IDE:
    • org.eclipse.corrosion
    • target-platform
    • org.eclipse.corrosion.tests
  • (Ignore the errors, they are about to go away with the next step)
  • Set the Target Platform
    • Open the target-platform/target-platform.target file with the Target Editor
    • Press the Refresh button and wait for completion
    • In the top right corner, press the Set as Active Target Platform button
  • Run the org.eclipse.corrosion project as an Eclipse Application (Right-click on project > Run As > Eclipse Application; or using the Launch Configuration dialog)

Building locally

Local build happens with a simple mvnw clean verify. Main build output is a p2 repository that you can find in repository/target/repository. You can use it to install and test the built artifacts in a working Eclipse IDE.
Depending on your OS, you may have to prefix the command with ./ .

Note that on Windows the command cannot be invoked from PowerShell, but only from CMD.

The repository also contains "External Tools" launch configurations (for *nix and Windows systems) to start the command from within the IDE. In Eclipse open the main menu entry Run > External Tools > External Tools Configurations ... to select and start the configuration matching your operating system.

Making Pull Requests

Before committing your change, consider adding an entry to the documentation/Changelog.md file if your change is a non-trivial user facing change.

To keep the commit history clean and navigable, PR are limited to a single commit. If your PR has multiple commits that all work together, they should be squashed into a single commit. If you believe that the different commits are too unrelated to be squashed together, then they should be put into multiple PRs to allow single feature PRs.

Corrosion is an Eclipse project and all contributors must do the following before having a pull request merged:

Java
1
https://gitee.com/mirrors/Eclipse-Corrosion.git
git@gitee.com:mirrors/Eclipse-Corrosion.git
mirrors
Eclipse-Corrosion
Eclipse-Corrosion
master

搜索帮助