如何手动将软件/插件安装到 Eclipse IDE?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6757391/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:19:13  来源:igfitidea点击:

How to manually install software/plugin to Eclipse IDE?

eclipse

提问by siva636

I have downloaded a RAR file from the following location, to be (manually) installed to Eclipse (Helios). How can I perform the manual installation?

我已经从以下位置下载了一个 RAR 文件,要(手动)安装到 Eclipse (Helios)。如何执行手动安装?

http://sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20RCP%20%28exc%20JRE%29/3.6.1/sqlexplorer_rcp-3.6.1.macosx.cocoa.x86.tgz/download

http://sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20RCP%20%28exc%20JRE%29/3.6.1/sqlexplorer_rcp-3.6.1.macosx.cocoa.x86.tgz/download

采纳答案by Gyan aka Gary Buyn

From their website (http://www.sqlexplorer.org/):

从他们的网站(http://www.sqlexplorer.org/):

Eclipse Plugin

Download

Download the Eclipse SQL Explorer plugin and extract the zip file in your eclipse directory (requires Eclipse 3.3 or better). After restarting eclipse with the -clean option, a new SQL Explorer perspective should be available.

Eclipse Update Site

You can install and update Eclipse SQL Explorer via the eclipse update mechanism. The update site for Eclipse SQL Explorer is http://eclipsesql.sourceforge.net/

Eclipse 插件

下载

下载 Eclipse SQL Explorer 插件并在 eclipse 目录中解压 zip 文件(需要 Eclipse 3.3 或更高版本)。使用 -clean 选项重新启动 eclipse 后,应该可以使用一个新的 SQL Explorer 透视图。

Eclipse 更新站点

您可以通过 Eclipse 更新机制安装和更新 Eclipse SQL Explorer。Eclipse SQL Explorer 的更新站点是http://eclipsesql.sourceforge.net/

I always go for the update site option if they present it, it's easier and lets you do updates easily. To use the update mechanism just select Help > Insall New Software...then enter the update site, press Addand go through the wizard.

如果他们提供更新站点选项,我总是选择它,它更容易并且让您轻松进行更新。要使用更新机制,只需选择Help > Insall New Software...然后进入更新站点,按Add并通过向导。

回答by Daniel

Instead of putting it directly into the plugins directory, it's better to use the dropins directory as this was created just for this purpose. Have a look here: http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins

与其直接将其放入 plugins 目录,不如使用 dropins 目录,因为它就是为此目的而创建的。看看这里:http: //wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins

For sqlexplorer: do not download the full RCP version (as your link does), this one is standalone. Get this one instead: http://sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20Plugin/3.6.1/sqlexplorer_plugin-3.6.1_SR2.zip/download

对于 sqlexplorer:不要下载完整的 RCP 版本(如您的链接那样),这是独立的。换一个:http: //sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20Plugin/3.6.1/sqlexplorer_plugin-3.6.1_SR2.zip/download

Extract this to $eclipse_home$\dropins\sqlexplorer and restart Eclipse.

将其解压缩到 $eclipse_home$\dropins\sqlexplorer 并重新启动 Eclipse。

BUT: Using the SqlExplorer Update Site (http://eclipsesql.sourceforge.net/) would be an even better option (Help>Install new Software)

但是:使用 SqlExplorer 更新站点 ( http://eclipsesql.sourceforge.net/) 将是一个更好的选择(帮助>安装新软件)

回答by mliebelt

I have tried the installation with the explanation about the dropins folderand had to tweak it like that:

我已经尝试使用有关dropins 文件夹的说明进行安装,并且不得不像这样调整它:

  1. Unzip the distribution into your eclipse installation directory under the folder dropins. Your structure should be:

    eclipse/
      dropins/
        eclipse/
          features/
          plugins/
    
  2. Remove all other files and directories. There is some missing piece (file contents.xml), so that the distribution is no real p2 repository which leads to an error. The directories pluginsand featuresare sufficient.

  3. Restart your eclipse (I have done it with option -clean, not sure if that is necessary).
  4. SQLExplorer is then installed and visible in the help, in different menus and with a new perspective.
  1. 将发行版解压缩到 eclipse 安装目录中的 dropins 文件夹下。你的结构应该是:

    eclipse/
      dropins/
        eclipse/
          features/
          plugins/
    
  2. 删除所有其他文件和目录。有一些缺失的部分(文件contents.xml),因此发行版不是真正的 p2 存储库,这会导致错误。目录pluginsfeatures就足够了。

  3. 重新启动你的日食(我已经用 option 完成了-clean,不确定是否有必要)。
  4. 然后安装 SQLExplorer 并在帮助、不同菜单和新视角中可见。

I even was able to use it to have a look at my SQLite3 database of a rails3 application. Wow!! So I will give it a try.

我什至能够使用它来查看我的 rails3 应用程序的 SQLite3 数据库。哇!!所以我会尝试一下。