如何让Scala插件和AJDT安装在同一个Eclipse中

尝试将两个AJDT和
Scala 2.7.5插件安装到
Eclipse 3.5中时出错.

我记得曾经看过一条消息,说明安装了两个已知的问题,解决方法是安装预发布版本的Scala插件,我相信,然后安装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]

最佳答案 根据
this thread,

2.7.5.final is compatible with AJDT 1.7.0 on Eclipse 3.5.

如果您有AJDT (AspectJ Development Tools) 2.0.x,您是否可以尝试将其降级为1.7.0作为suggested in this thread

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

从“AJDT 2.0.0 – New and Noteworthy”:

  • Release for AJDT targeting Eclipse 3.5: 2.0.0_e35x2009XXXXXX
  • Release for AJDT targeting Eclipse 3.4: 2.0.0_e34x2009XXXXXX

So this means that AJDT 1.6.5 has been renamed AJDT 2.0.0_e34x and AJDT 1.7.0 has been renamed AJDT 2.0.0_e35x.
Although this is potentially confusing in the short term, we believe in the long term, this will be more informative and users will be able to read the version and immediately know which Eclipse version it targets and also what feature level it contains.

要通过OP的反馈来完成这个答案:

> AJDT update site
>“Eclipse Galileo, AJDT, Scala Eclipse plugin 2.7.5

Hmm … if you can live with one of the 1.7.0 AJDT builds you should be OK.
Cheers, Miles

  
  谢谢你的提示 – 它的工作原理!
  我在AJDT下载中使用了ajdt_1.7.0.20090513085548_archive.zip.
  欢呼波特

点赞