给 http://download.scala-ide.org/update-current-35
有功能和插件目录.我应该使用哪个或两者都使用?我应该在eclipse功能和/或插件目录中解压缩它们吗?
那么功能和插件之间有什么区别?
Von*_*onC 12
您应该同时使用两者:update-current-35是一个p2站点,您可以在Eclipse中安装新软件时在"可用软件列表"中输入该站点.
Eclipse将检测该地址p2站点中的功能和插件,并将全部安装.
请参阅此Scala安装视频.
这里解释了功能和插件之间的区别.
不要忘记使用正确的Eclipse版本进行此安装:Eclipse Classic 3.5.2.
如果您需要手动安装它,您应该在您在eclipse.ini中引用的共享dropins中复制该p2站点的目录plugins和features目录的完整内容(请参阅eclipse.ini中的eclipse.ini).
(你不需要复制,,)site.xmlcontents.jarartifact.jar
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/path/to/myPlugins
Run Code Online (Sandbox Code Playgroud)
您将创建以下树(类似于此SO答案中描述的另一个手动安装)
C:/path/to/myPlugins
org.scala-ide.1.0.0.201008022319
eclipse
features
ch.epfl.lamp.sdt_2.8.0.scala-ide-upgrade.jar
org.eclipse.contribution.weaving_1.6.4.scala-ide-upgrade.jar
org.scala-ide.sdt.feature_1.0.0.201008022319.jar
org.scala-ide.sdt.weaving.feature_1.0.0.201008022319.jar
plugins
org.aspectj.runtime_1.6.9.20100629172100.jar
org.aspectj.weaver_1.6.9.20100629172100.jar
org.eclipse.contribution.weaving.jdt_2.1.0.e35x-release-20100630-1500.jar
org.eclipse.equinox.weaving.aspectj_1.0.0.v20100108.jar
org.eclipse.equinox.weaving.hook_1.0.0.v20100108.jar
org.scala-ide.scala.compiler_2.8.0.jar
org.scala-ide.scala.library_2.8.0.jar
org.scala-ide.sdt.aspects_1.0.0.201008022319.jar
org.scala-ide.sdt.core_1.0.0.201008022319.jar
org.scala-refactoring.library_0.2.0.201008022305.jar
scalariform_0.0.5.201007302350.jar
Run Code Online (Sandbox Code Playgroud)
注意:
org.scala-ide.1.0.0.201008022319直接在myPlugins 下面的' '文件夹实际上可以是任何名字!我刚刚从功能ID中获取了一个名称,以清楚地标识您正在安装的Scala插件.
如果您有多个Scala版本myPlugins,p2将自动检测最新的版本,即使您将它们安装在' a/eclipse/...',' b/eclipse/...',' c/eclipse/...'中也是如此.
我只是发现' org.scala-ide.1.0.0.201008022319'更精确a',' b'或' c',以便记住我在共享dropins中的确切插件.
您需要拥有正确的Eclipse版本(经典3.5.2)才能确保包含Scala插件可能需要的所有依赖项.
本地安装:
您可以org.scala-ide.1.0.0.201008022319/eclipse/....在日食中的'dropins'目录中创建完全相同的树(' ').
您不需要在您的帐户中声明共享dropins目录eclipse.ini.
我只是喜欢使用共享dropins,因为我有很多eclipse安装,但是如果你有正确的eclipse,你可以直接使用相同的树</path/to/your/eclipse/dropins>.
脏安装:
最后,您可以:
http://download.scala-ide.org/update-current-35/plugins/' 的内容plugins.http://download.scala-ide.org/update-current-35/features/' 的内容features.但我发现它不是很干净,因为它混合了Eclipse发行版附带的本机插件和你添加的额外插件.
只需拖放Scala IDE即可.您可以在下面的链接中找到拖放图像文件(安装).
http://marketplace.eclipse.org/content/scala-ide
http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=421
然后按照安装步骤操作.
小智 6
对于eclipse的霓虹灯版本,我们可以按照以下步骤添加Scala插件.
| 归档时间: |
|
| 查看次数: |
61757 次 |
| 最近记录: |