简体   繁体   English

如何通过eclipse菜单中的“ Eclipse Marketplace”或“ Install New Software”选项安装eclipse源代码?

[英]How to install the eclipse source code via “Eclipse Marketplace” or “Install New Software” option from eclipse menu?

I am developing Eclipse RCP application, I am very new in RCP development & plugins development. 我正在开发Eclipse RCP应用程序,在RCP开发和插件开发方面我是一个新手。 I want to attach the eclipse source code in my eclipse (Kepler 4.3.2). 我想在eclipse中附加eclipse源代码(Kepler 4.3.2)。 Please suggest me step by step, how to attach the source code in my current eclipse? 请建议我一步一步,如何将源代码附加到当前的Eclipse中?

Use 'Help > Install New Software...' 使用“帮助>安装新软件...”

In 'Work with' enter the updates site for your release. 在“使用”中,输入要发布的更新站点。 This is http://download.eclipse.org/eclipse/updates/4.3 for Eclipse Kepler (4.3), http://download.eclipse.org/eclipse/updates/4.5 for the more current Eclipse Mars (4.5). 这是http://download.eclipse.org/eclipse/updates/4.3为Eclipse开普勒(4.3), http://download.eclipse.org/eclipse/updates/4.5为更当前的Eclipse火星(4.5)。

Select and install 'Eclipse Platform SDK' for the core source, or 'Eclipse SDK' for more complete source. 选择并安装“ Eclipse Platform SDK”作为核心源,或者选择“ Eclipse SDK”作为更完整的源。

Once this is installed open the 'Preferences' and go to the 'Plug-in Development' page. 安装完成后,打开“首选项”并转到“插件开发”页面。 Check the 'Include all plug-ins from target in Java search' option. 选中“在Java搜索中包括来自目标的所有插件”选项。 This will include the source in Eclipse searches and the 'Open Type' dialog. 这将包括Eclipse搜索和“打开类型”对话框中的源。 Note: If you are using a 'Target Platform' the source need to be included in the target platform to get the search to work. 注意:如果您使用的是“目标平台”,则源必须包含在目标平台中才能使搜索生效。

Alternatively most of the downloads from the Eclipse Projects page include the source plugins. 另外,从Eclipse Projects页面下载的大多数内容都包含源插件。

You can install source code as greg-449 said. 您可以按照greg-449所述安装源代码。 but if you are a RCP developer its better download Eclipse for RCP and RAP Developers . 但是,如果您是RCP开发人员,则最好下载RCP和RAP开发人员专用的Eclipse
This package contains source code as well a complete set of tools for developers who want to create Eclipse plug-ins, Rich Client Applications or Remote Application Platform (RCP+RAP), plus Mylyn, the m2e Maven integration, and an XML editor. 该软件包包含源代码以及一整套针对想要创建Eclipse插件,富客户端应用程序或远程应用程序平台(RCP + RAP)的开发人员的工具,以及Mylyn,m2e Maven集成和XML编辑器。 It contains the EGit tooling for accessing Git version control systems. 它包含用于访问Git版本控制系统的EGit工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM