在Ubuntu上安装Eclipse插件的简单方法 [英] Easy way of installing Eclipse plugins on Ubuntu

查看:285
本文介绍了在Ubuntu上安装Eclipse插件的简单方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Ubuntu上运行Eclipse(版本3.6和3.5),我无法安装Eclipse插件。

I'm running Eclipse (versions 3.6 and 3.5) on Ubuntu and I'm having trouble installing Eclipse plugins.

有一个在Eclipse中安装eclipse插件的简单方法,但这个在Ubuntu上不适合我!这样只能在Windows和Mac OSX下正常工作。

There is an easy way to install eclipse plugins in Eclipse, but this doesn't work for me on Ubuntu! This way only works properly under Windows and Mac OSX.

就像教程一样,我在我的eclipse SDK文件夹中创建一个名为的文件夹

在此文件夹中,我创建一个文件 eclipse-cpp-helios-linux-gtk.lnk eclipse -cpp-helios-linux-gtk.link 包含这一行:

Just like in the tutorial, I create a folder inside my eclipse SDK folder that is named Links.
In this folder, I create a file eclipse-cpp-helios-linux-gtk.lnk or eclipse-cpp-helios-linux-gtk.link that contains this line:

path=/home/taher/opt/eclipse/Third-party-eclipse-links/eclipse-cpp-helios-linux-gtk

并保存它,但是当我启动Eclipse不能识别插件!

and save it, but when I start Eclipse doesn't recognize the plugin!

我如何解决这个问题?

推荐答案

使用Eclipse Galileo(3.5)或Helios(3.6),我宁愿推荐一个名为mydropins(例如)的外部目录,您可以从hl = ,选项如下:

With Eclipse Galileo (3.5) or Helios (3.6), I would rather recommend an external directory called 'mydropins' (for instance), which you can reference from your eclipse.ini, with the option:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/Prog/Java/eclipse_addons

这被称为 共享dropins文件夹

请参阅这个 SO在这个共享的dropins文件夹中回答一个插件部署的例子

(您的链接指先前的配置机制,pre-p2。

P2是在Eclipse3.4中推出的新配置系统,在eclipse 3.5和3.6中进行了精简(调试?)。

请参阅
支持的下拉列表格式,以检查如何组织自己的个人辍学ns文件夹(您可以在几个eclipse安装之间重用)

(Your link refers to the previous provisioning mechanism, pre-p2.
P2 is the new provisioning system introduced late in Eclipse3.4, refined (debugged?) in eclipse 3.5 and 3.6.
See the supported dropins formats to check how you can organize your own personal dropins folder (that you can reuse between several eclipse installations)

您说您正在使用:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/home/taher/opt/eclipse/Third-party-eclipse-links

这意味着在/ home / taher / opt / eclipse / Third-party-eclipse- :

That means, under /home/taher/opt/eclipse/Third-party-eclipse-links, you:


  • 不会有任何 .link 文件

  • 将复制:


    eclipse-cpp-helios-linux-gtk
      eclipse
        features
        plugins

注意: eclipse-cpp-helios中的结构-linux-gtk 应该是上面描述的,p2来接收它。

Note: the structure within eclipse-cpp-helios-linux-gtk should be the one describe above, for p2 to pick it up.

这篇关于在Ubuntu上安装Eclipse插件的简单方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆