我想將Scalala導入Eclipse。 我已經通過增加線克隆並用Eclipse構建Scalala/IntelliJ
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.0.0-M2")
我plugins.sbt 使用SBT-Eclipse插件試過,我跑了./sbt update
從被從GitHub克隆Scalala目錄的根, 我正在下面錯誤
============================================= =====
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbteclipse:sbteclipse-plugin:2.0.0-M2 (sbtVersion=0.11.0, scalaVersion=2.9.1)
[warn]
[error] {file:/home/tutysra/Scalala/project/plugins/}default-ffe360/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0-M2: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
====================================== ============
有沒有人成功地用Eclipse構建了Scalala的源代碼,並且可以分享他們遵循的步驟?
我也可以給IntelliJ一個嘗試,如果這是首選的方法和許多開發者使用。 如果在IntelliJ上運行時需要進行一些調整,請提供它們。
我有sbt版本0.11.2和'〜/ .sbt/plugins/plugins.sbt'下的'addSbtPlugin'。可能是你可以嘗試移動你的主目錄下的插件參考,如果你還沒有運行,升級到0.11.2? – huynhjl 2011-12-31 17:19:14
當我從github克隆它時,我正在使用隨包提供的SBT版本。我將安裝0.11.2並試一試。 – tutysara 2012-01-01 05:24:38