我正在尝试使用 Aptana 安装 Antlr IDE,并从更新管理器收到此错误日志。到底是怎么回事?
Cannot complete the install because of a conflicting dependency.
Software being installed: ANTLR IDE- StringTemplate Tools 1.1.0.201108281759 (org.deved.antlride.feature.stringtemplate.feature.group 1.1.0.201108281759)
Software currently installed: Aptana Studio 3 3.0.8.201201201658-20012012170258 (com.aptana.rcp.product 3.0.8.201201201658-20012012170258)
Only one of the following can be installed at once:
Core Runtime 3.6.0.v20100505 (org.eclipse.core.runtime 3.6.0.v20100505)
Core Runtime 3.7.0.v20110110 (org.eclipse.core.runtime 3.7.0.v20110110)
Cannot satisfy dependency:
From: Aptana Studio 3 3.0.8.201201201658-20012012170258 (com.aptana.rcp.product 3.0.8.201201201658-20012012170258)
To: org.eclipse.core.runtime [3.6.0.v20100505]
Cannot satisfy dependency:
From: ANTLR IDE- StringTemplate Tools 1.1.0.201108281759 (org.deved.antlride.feature.stringtemplate.feature.group 1.1.0.201108281759)
To: org.eclipse.dltk.core [3.0.0,4.0.0)
Cannot satisfy dependency:
From: Dynamic Languages Toolkit Core 3.0.0.v20110609-1525 (org.eclipse.dltk.core 3.0.0.v20110609-1525)
To: bundle org.eclipse.emf.ecore 2.4.0
Cannot satisfy dependency:
From: Dynamic Languages Toolkit Core 3.0.1.v20110823 (org.eclipse.dltk.core 3.0.1.v20110823)
To: bundle org.eclipse.emf.ecore 2.4.0
Cannot satisfy dependency:
From: EMF Ecore 2.7.0.v20110605-0747 (org.eclipse.emf.ecore 2.7.0.v20110605-0747)
To: bundle org.eclipse.core.runtime [3.7.0,4.0.0)
Cannot satisfy dependency:
From: EMF Ecore 2.7.0.v20110912-0920 (org.eclipse.emf.ecore 2.7.0.v20110912-0920)
To: bundle org.eclipse.core.runtime [3.7.0,4.0.0)
据我所知,ANTLR IDE 基于 Eclipse 3.7 (Indigo),而 Aptana Studio 独立版则随 Eclipse 3.6 一起提供。这可能就是您遇到此安装问题的原因。
您可以将 Aptana Studio 作为插件安装在 Eclipse 3.7 之上,然后也安装 ANTLR IDE。
查看 http://preview.appcelerator.com/studio/(Aptana Studio 选项卡)以获取 Studio 的更新站点。