简体   繁体   English

从Project File安装Eclipse插件

[英]Eclipse plugin installation from Project File

I want to install eclipse plugin Agilereview from following link: 我想从以下链接安装eclipse插件Agilereview:

https://github.com/AgileReview-Project/AgileReview-EclipsePlugin https://github.com/AgileReview-Project/AgileReview-EclipsePlugin

I downloaded the zip and unzipped it. 我下载了zip并将其解压缩。 I added it in eclipse as project and many projects added into workspace. 我在eclipse中将其添加为项目,并将许多项目添加到工作区中。 When I tried to select all those projects and export them as deploy-able plugins in eclipse repository, eclipse doesn't allow it and always show error like plugin file missing. 当我尝试选择所有这些项目并将其作为可部署的插件导出到eclipse存储库中时,eclipse不允许这样做,并且始终显示缺少插件文件之类的错误。 A problem is the zip file include many folders and many of those folder has its own plugin.xml file. 问题是zip文件包含许多文件夹,并且其中许多文件夹都有其自己的plugin.xml文件。 Therefore, I think this Agilereview plugin itself is a combination of many plugins. 因此,我认为此Agilereview插件本身是许多插件的组合。 I am sure that plugin is okay and its my mistake to install it. 我确定该插件可以正常使用,这是我的安装错误。

Can anyone tell me, what is the mistake I am doing while installation? 谁能告诉我,安装时我在做什么错? I want to install this plugin manually since later I need to optimize it. 我想手动安装此插件,因为以后需要对其进行优化。

Each of the folders org.agilereview.xxx is a separate Eclipse project. 每个文件夹org.agilereview.xxx是一个单独的Eclipse项目。 So you should use 'Import > Existing Projects into Workspace' to import these projects. 因此,您应该使用“导入>现有项目导入工作区”来导入这些项目。

Since there are pom.xml files it looks like you should use maven and tycho to build the code. 由于存在pom.xml文件,因此您似乎应该使用maven和tycho来构建代码。

For building RCP applications and plugins like Agilereview, which itself is a combination of many projects, you can check out the following tutorial: 要构建RCP应用程序和类似Agilereview的插件(它本身是许多项目的组合),可以查看以下教程:

http://www.vogella.com/tutorials/EclipseTycho/article.html http://www.vogella.com/tutorials/EclipseTycho/article.html

Eclipsetycho provides support for building eclipse components. Eclipsetycho为构建Eclipse组件提供支持。

Install the maven eclipse tool, which will make your work easy. 安装Maven Eclipse工具,这将使您的工作变得容易。

http://download.eclipse.org/technology/m2e/releases http://download.eclipse.org/technology/m2e/releases

This is a pretty complex process, so spend some time to learn from the tutorial. 这是一个非常复杂的过程,因此请花一些时间来学习本教程。

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

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