如何在 Eclipse 3.7 中安装 Aptana 插件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8058302/
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
How do I install Aptana plugin in Eclipse 3.7?
提问by shanethehat
I'm trying to install the Aptana Studio 3 plugin into Eclipse 3.7 on Ubuntu, but it is failing with the message
我正在尝试在 Ubuntu 上将 Aptana Studio 3 插件安装到 Eclipse 3.7 中,但失败并显示消息
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.4.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.6.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.7.0.dist
No repository found containing: osgi.bundle,org.junit,3.8.2.v3_8_2_v20100427-1100
The package URL I'm using is http://download.aptana.com/studio3/plugin/install. What am I doing wrong?
我使用的包 URL 是http://download.aptana.com/studio3/plugin/install。我究竟做错了什么?
Update:I followed sgibly's advice below and now the install gets to about 49% before failing with this message:
更新:我遵循了以下 sgably 的建议,现在安装达到了大约 49%,然后失败并显示此消息:
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Comparison method violates its general contract!
Comparison method violates its general contract!
回答by sgibly
Try this:
尝试这个:
Open the Eclipse Preferences and look for Install/Update->Available Softwareand make sure that the Indigoupdate site is selected.
打开 Eclipse Preferences 并查找Install/Update->Available Software并确保选择了Indigo更新站点。
If it's not selected, add http://download.eclipse.org/eclipse/updates/3.7and try to install the Studio again.
如果未选中,请添加http://download.eclipse.org/eclipse/updates/3.7并再次尝试安装 Studio。
Hope that helps.
希望有帮助。