4

尝试将 AJDT 和 Scala 2.7.5 插件安装到 Eclipse 3.5 时出现错误。

我记得有一次看到一条消息说安装这两个存在已知问题,解决方案是安装 Scala 插件的预发布版本,我相信从 May 开始,然后安装 AJDT。

但是,我不记得是哪个版本,也找不到下载旧预发布版本的链接。

所以,我想知道是否有人知道我如何安装两者。

谢谢你。


编辑:
我刚才试了一下,得到了这个错误,所以 AJDT 1.7.0 不起作用。:(

    Cannot complete the install because of a conflicting dependency.
  Software being installed: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
  Software being installed: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
  Only one of the following can be installed at once: 
    JDT Weaving 2.0.0.e35x-20090624-1600 (org.eclipse.contribution.weaving.jdt 2.0.0.e35x-20090624-1600)
    JDT Weaving 1.6.4.20090313172428 (org.eclipse.contribution.weaving.jdt 1.6.4.20090313172428)
  Cannot satisfy dependency:
    From: Scala Eclipse Plugin 2.7.5.final (ch.epfl.lamp.sdt.feature.group 2.7.5.final)
    To: org.eclipse.contribution.weaving.jdt [1.6.4.20090313172428]
  Cannot satisfy dependency:
    From: AspectJ Development Tools 2.0.0.e35x-20090624-1600 (org.eclipse.ajdt.feature.group 2.0.0.e35x-20090624-1600)
    To: org.eclipse.contribution.weaving.jdt [2.0.0.e35x-20090624-1600]
4

3 回答 3

1

Here is the message I couldn't find, looking for AJDT 1.7 was the help I needed: http://www.nabble.com/Eclipse-Galileo,-AJDT,-Scala-Eclipse-plugin-2.7.5-td24357850.html

You can get the file from: http://eclipse.ialto.org/tools/ajdt/35/dev/update/

I unzipped this zip file into the Eclipse directory, then installed Scala 1.7.5.

于 2009-08-17T21:44:46.007 回答
1

根据这个线程

2.7.5.final 与 Eclipse 3.5 上的 AJDT 1.7.0 兼容。

如果您有AJDT (AspectJ Development Tools) 2.0.x,您可以尝试按照此线程中的建议降级到 1.7.0吗?

正如 OP ( James Black ) 本人在评论中所详述的那样,两个 AJDT 版本实际上都是 2.0!

来自“ AJDT 2.0.0 - 新的和值得注意的”:

  • 针对 Eclipse 3.5 的 AJDT 版本:2.0.0_e35x2009XXXXXX
  • 针对 Eclipse 3.4 的 AJDT 版本:2.0.0_e34x2009XXXXXX

所以这意味着AJDT 1.6.5 已重命名为 AJDT 2.0.0_e34x 并且 AJDT 1.7.0 已重命名为 AJDT 2.0.0_e35x
尽管这在短期内可能会令人困惑,但我们相信从长远来看,这将提供更多信息,用户将能够阅读该版本并立即知道它面向哪个 Eclipse 版本以及它包含什么特性级别。


要使用 OP 的反馈完成此答案:

嗯...如果您可以使用 1.7.0 AJDT 版本之一,您应该没问题。
干杯,迈尔斯

感谢您的提示 - 它有效!
我使用ajdt_1.7.0.20090513085548_archive.zip的是从 AJDT 下载的。
干杯波特

于 2009-08-17T20:52:05.910 回答
0

我安装了 AJDT 2.0.0,在尝试安装 Scala 2.7.5.final 时收到以下消息:

Only one of the following can be installed at once: 
  JDT Weaving 2.0.0.e35x-20090624-1600 (org.eclipse.contribution.weaving.jdt 2.0.0.e35x-20090624-1600)
  JDT Weaving 1.6.4.20090313172428 (org.eclipse.contribution.weaving.jdt 1.6.4.20090313172428)

这是因为 Scala 插件需要 1.6.4。如果您降级到该版本的 AJDT,您可能会没事。

于 2009-08-17T20:54:42.533 回答