sbt / sbt-eclipse

Plugin for sbt to create Eclipse project definitions
Apache License 2.0
716 stars 167 forks source link

unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found #148

Closed vnicolici closed 11 years ago

vnicolici commented 11 years ago

I tried to create a simple sbt eclipse project, and this is the result:

C:\Users\Vladimir\scalaworkspace\backup-tool>sbt
[info] Loading project definition from C:\Users\Vladimir\scalaworkspace\backup-tool\project
[info] Updating {file:/C:/Users/Vladimir/scalaworkspace/backup-tool/project/}default-1b3502...
[info] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1 ...
[warn]  module not found: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1
[warn] ==== typesafe-ivy-releases: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.10/sbt_0.12/2.1.1/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.10/sbt_0.12/2.1.1/ivys/ivy.xml
[warn] ==== local: tried
[warn]   C:\Users\Vladimir\.ivy2\local\com.typesafe.sbteclipse\sbteclipse-plugin\scala_2.10\sbt_0.12\2.1.1\ivys\ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse-plugin_2.10_0.12/2.1.1/sbteclipse-plugin-2.1.1.pom
[info] Resolving org.scala-sbt#sbt;0.12.1 ...
  [info] Resolving org.scala-sbt#main;0.12.1 ...
  [info] Resolving org.scala-sbt#actions;0.12.1 ...
  [info] Resolving org.scala-sbt#classpath;0.12.1 ...
  [info] Resolving org.scala-sbt#launcher-interface;0.12.1 ...
  [info] Resolving org.scala-lang#scala-library;2.10.0 ...
  [info] Resolving org.scala-sbt#interface;0.12.1 ...
  [info] Resolving org.scala-sbt#io;0.12.1 ...
  [info] Resolving org.scala-sbt#control;0.12.1 ...
  [info] Resolving org.scala-lang#scala-compiler;2.10.0 ...
  [info] Resolving org.scala-lang#scala-reflect;2.10.0 ...
  [info] Resolving org.scala-sbt#completion;0.12.1 ...
  [info] Resolving org.scala-sbt#collections;0.12.1 ...
  [info] Resolving jline#jline;1.0 ...
  [info] Resolving org.scala-sbt#api;0.12.1 ...
  [info] Resolving org.scala-sbt#compiler-integration;0.12.1 ...
  [info] Resolving org.scala-sbt#incremental-compiler;0.12.1 ...
  [info] Resolving org.scala-sbt#logging;0.12.1 ...
  [info] Resolving org.scala-sbt#process;0.12.1 ...
  [info] Resolving org.scala-sbt#compile;0.12.1 ...
  [info] Resolving org.scala-sbt#persist;0.12.1 ...
  [info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ...
  [info] Resolving org.scala-sbt#classfile;0.12.1 ...
  [info] Resolving org.scala-sbt#compiler-ivy-integration;0.12.1 ...
  [info] Resolving org.scala-sbt#ivy;0.12.1 ...
  [info] Resolving org.apache.ivy#ivy;2.3.0-rc1 ...
  [info] Resolving com.jcraft#jsch;0.1.46 ...
  [info] Resolving commons-httpclient#commons-httpclient;3.1 ...
  [info] Resolving commons-logging#commons-logging;1.0.4 ...
  [info] Resolving commons-codec#commons-codec;1.2 ...
  [info] Resolving org.scala-sbt#run;0.12.1 ...
  [info] Resolving org.scala-sbt#task-system;0.12.1 ...
  [info] Resolving org.scala-sbt#tasks;0.12.1 ...
  [info] Resolving org.scala-sbt#tracking;0.12.1 ...
  [info] Resolving org.scala-sbt#cache;0.12.1 ...
  [info] Resolving org.scala-sbt#testing;0.12.1 ...
  [info] Resolving org.scala-sbt#test-agent;0.12.1 ...
  [info] Resolving org.scala-tools.testing#test-interface;0.5 ...
  [info] Resolving org.scala-sbt#command;0.12.1 ...
  [info] Resolving org.scala-sbt#compiler-interface;0.12.1 ...
  [info] Resolving org.scala-sbt#precompiled-2_8_2;0.12.1 ...
  [info] Resolving org.scala-sbt#precompiled-2_10_0-m7;0.12.1 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[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.1.1 (sbtVersion=0.12, scalaVersion=2.10)
[warn]
sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found
        at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:214)
        at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
        at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:102)
        at sbt.IvySbt.liftedTree1$1(Ivy.scala:49)
        at sbt.IvySbt.action$1(Ivy.scala:49)
        at sbt.IvySbt$$anon$3.call(Ivy.scala:58)
        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
        at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
        at xsbt.boot.Using$.withResource(Using.scala:11)
        at xsbt.boot.Using$.apply(Using.scala:10)
        at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
        at xsbt.boot.Locks$.apply0(Locks.scala:30)
        at xsbt.boot.Locks$.apply(Locks.scala:27)
        at sbt.IvySbt.withDefaultLogger(Ivy.scala:58)
        at sbt.IvySbt.withIvy(Ivy.scala:99)
        at sbt.IvySbt.withIvy(Ivy.scala:95)
        at sbt.IvySbt$Module.withModule(Ivy.scala:114)
        at sbt.IvyActions$.update(IvyActions.scala:121)
        at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:951)
        at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:949)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:972)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:970)
        at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:974)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:969)
        at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
        at sbt.Classpaths$.cachedUpdate(Defaults.scala:977)
        at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:856)
        at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:853)
        at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
        at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
        at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
        at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
        at sbt.std.Transform$$anon$5.work(System.scala:71)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
        at sbt.Execute.work(Execute.scala:238)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

build.properties:

sbt.version=0.12.1

build.sbt:

name := "hello"

version := "1.0"

scalaVersion := "2.10.0" 

plugins.sbt:

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.1")
vnicolici commented 11 years ago

I also tried with sbt 0.12.2, same behavior.

I got it to work by dowgrading from Scala 2.10.0 to Scala 2.9.2.

But I want to use Scala 2.10 in my project, so this is not a solution.

vnicolici commented 11 years ago

The problem is there is no 2.10 directory on the repo:

http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/

Index of ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin
Name         Last modified      Size

--------------------------------------------------------------------------------
../
scala_2.9.1/  04-Sep-2012 22:40    -
scala_2.9.2/  04-Sep-2012 22:42    -

--------------------------------------------------------------------------------

Artifactory Online Server at repo.typesafe.com Port 80
hseeberger commented 11 years ago

Hey,

You certainly added your plugins.sbt with addSbtPlugin(...sbteclipse...) in your / directory, instead of /project/ or better in ~/.sbt/plugins/.

Cheers Heiko

Heiko Seeberger Twitter: @hseeberger Blog: heikoseeberger.name Company: Typesafe - The software stack for applications that scale Author of "Durchstarten mit Scala, a tutorial-style Scala book"

On Feb 17, 2013, at 6:41 PM, vnicolici notifications@github.com wrote:

I tried to create a simple sbt eclipse project, and this is the result:

C:\Users\Vladimir\scalaworkspace\backup-tool>sbt [info] Loading project definition from C:\Users\Vladimir\scalaworkspace\backup-tool\project [info] Updating {file:/C:/Users/Vladimir/scalaworkspace/backup-tool/project/}default-1b3502... [info] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1 ... [warn] module not found: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1 [warn] ==== typesafe-ivy-releases: tried [warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.10/sbt_0.12/2.1.1/ivys/ivy.xml [warn] ==== sbt-plugin-releases: tried [warn] http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.10/sbt_0.12/2.1.1/ivys/ivy.xml [warn] ==== local: tried [warn] C:\Users\Vladimir.ivy2\local\com.typesafe.sbteclipse\sbteclipse-plugin\scala_2.10\sbt_0.12\2.1.1\ivys\ivy.xml [warn] ==== public: tried [warn] http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse-plugin_2.10_0.12/2.1.1/sbteclipse-plugin-2.1.1.pom [info] Resolving org.scala-sbt#sbt;0.12.1 ... [info] Resolving org.scala-sbt#main;0.12.1 ... [info] Resolving org.scala-sbt#actions;0.12.1 ... [info] Resolving org.scala-sbt#classpath;0.12.1 ... [info] Resolving org.scala-sbt#launcher-interface;0.12.1 ... [info] Resolving org.scala-lang#scala-library;2.10.0 ... [info] Resolving org.scala-sbt#interface;0.12.1 ... [info] Resolving org.scala-sbt#io;0.12.1 ... [info] Resolving org.scala-sbt#control;0.12.1 ... [info] Resolving org.scala-lang#scala-compiler;2.10.0 ... [info] Resolving org.scala-lang#scala-reflect;2.10.0 ... [info] Resolving org.scala-sbt#completion;0.12.1 ... [info] Resolving org.scala-sbt#collections;0.12.1 ... [info] Resolving jline#jline;1.0 ... [info] Resolving org.scala-sbt#api;0.12.1 ... [info] Resolving org.scala-sbt#compiler-integration;0.12.1 ... [info] Resolving org.scala-sbt#incremental-compiler;0.12.1 ... [info] Resolving org.scala-sbt#logging;0.12.1 ... [info] Resolving org.scala-sbt#process;0.12.1 ... [info] Resolving org.scala-sbt#compile;0.12.1 ... [info] Resolving org.scala-sbt#persist;0.12.1 ... [info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ... [info] Resolving org.scala-sbt#classfile;0.12.1 ... [info] Resolving org.scala-sbt#compiler-ivy-integration;0.12.1 ... [info] Resolving org.scala-sbt#ivy;0.12.1 ... [info] Resolving org.apache.ivy#ivy;2.3.0-rc1 ... [info] Resolving com.jcraft#jsch;0.1.46 ... [info] Resolving commons-httpclient#commons-httpclient;3.1 ... [info] Resolving commons-logging#commons-logging;1.0.4 ... [info] Resolving commons-codec#commons-codec;1.2 ... [info] Resolving org.scala-sbt#run;0.12.1 ... [info] Resolving org.scala-sbt#task-system;0.12.1 ... [info] Resolving org.scala-sbt#tasks;0.12.1 ... [info] Resolving org.scala-sbt#tracking;0.12.1 ... [info] Resolving org.scala-sbt#cache;0.12.1 ... [info] Resolving org.scala-sbt#testing;0.12.1 ... [info] Resolving org.scala-sbt#test-agent;0.12.1 ... [info] Resolving org.scala-tools.testing#test-interface;0.5 ... [info] Resolving org.scala-sbt#command;0.12.1 ... [info] Resolving org.scala-sbt#compiler-interface;0.12.1 ... [info] Resolving org.scala-sbt#precompiled-2_8_2;0.12.1 ... [info] Resolving org.scala-sbt#precompiled-2_10_0-m7;0.12.1 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [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.1.1 (sbtVersion=0.12, scalaVersion=2.10) [warn] sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:214) at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122) at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114) at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:102) at sbt.IvySbt.liftedTree1$1(Ivy.scala:49) at sbt.IvySbt.action$1(Ivy.scala:49) at sbt.IvySbt$$anon$3.call(Ivy.scala:58) at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75) at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58) at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79) at xsbt.boot.Using$.withResource(Using.scala:11) at xsbt.boot.Using$.apply(Using.scala:10) at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51) at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51) at xsbt.boot.Locks$.apply0(Locks.scala:30) at xsbt.boot.Locks$.apply(Locks.scala:27) at sbt.IvySbt.withDefaultLogger(Ivy.scala:58) at sbt.IvySbt.withIvy(Ivy.scala:99) at sbt.IvySbt.withIvy(Ivy.scala:95) at sbt.IvySbt$Module.withModule(Ivy.scala:114) at sbt.IvyActions$.update(IvyActions.scala:121) at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:951) at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:949) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:972) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:970) at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:974) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:969) at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45) at sbt.Classpaths$.cachedUpdate(Defaults.scala:977) at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:856) at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:853) at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586) at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41) at sbt.std.Transform$$anon$5.work(System.scala:71) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) at sbt.Execute.work(Execute.scala:238) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) error sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? build.properties:

sbt.version=0.12.1 build.sbt:

name := "hello"

version := "1.0"

scalaVersion := "2.10.0" plugins.sbt:

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.1") — Reply to this email directly or view it on GitHub.

vnicolici commented 11 years ago

No, I didn't.

Anyway, the project:

https://skydrive.live.com/redir?resid=D652E988DB742907!104203&authkey=!AHVWVQu3hVfMyPY

hseeberger commented 11 years ago

Well, you kind of did.

You must move the build.sbt one level up to the build root dir! Then just start sbt in the root dir (backup-tool).

Plugin refs need to be one level deeper in the project/ dir in a *.sbt file (usually plugins.sbt, but the name doesn't matter).

Cheers Heiko

Heiko Seeberger Twitter: @hseeberger Blog: heikoseeberger.name Company: Typesafe - The software stack for applications that scale Author of "Durchstarten mit Scala, a tutorial-style Scala book"

On Feb 17, 2013, at 7:37 PM, vnicolici notifications@github.com wrote:

No, I didn't.

Anyway, the project:

https://skydrive.live.com/redir?resid=D652E988DB742907!104203&authkey=!AHVWVQu3hVfMyPY

— Reply to this email directly or view it on GitHub.

vnicolici commented 11 years ago

Thanks, that fixed the issue.

I usually use .scala files for the project, not .sbt files, and I assumed .sbt files should be in the same location.

hseeberger commented 11 years ago

Common mistake ;-)

philwalk commented 11 years ago

I'm having the same symptom, although my plugins.sbt is project/plugins.sbt, so the fix doesn't work for me.

[warn] ==== typesafe-ivy-releases: tried [warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.10/sbt_0.12/2.1.1/ivys/ivy.xml

My guess (although it's not obvious from the above discussion) is that there is no sbteclipse-plugin for scala 2.10.0 yet. Is that correct? And if it is available somewhere, what resolver do I need to find it?

hseeberger commented 11 years ago

@philwalk sorry to be rude, but you are doing it wrong: As there is no released version of sbt that uses Scala 2.10, this error message clearly states that (a) your project (not sbt itself) depends on 2.10 and (b) you somehow made your project (not the plugins) depend on sbteclipse.

Please point me to the code and I will show you ...

philwalk commented 11 years ago

thanks for the rapid response ... I wasn't aware that there was no released version of sbt for scala 2.10, that answers my questions.

hugithordarson commented 9 years ago

I'm having the same problem with sbteclipse. Do I ned to downgrade to Scala 2.10?

dragos commented 9 years ago

No, but please double-check your dependency (particularly, the directory where your plugins.sbt is). Sbt makes it easy to add it to the wrong place. Also, make sure you're using a recent version of Sbt (latest one is 0.13.8).

nickshen3 commented 9 years ago

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")

facundoq commented 9 years ago

Would it be possible to list the supported Scala versions in the home page? I've been scratching my head for the last hour until I found this post and downgraded to scala 2.10.

Given that the latest stable versions of scala and sbt you can download are 2.11.7 and 0.13.9, that they both work fine together, and that the home page says sbt 0.13.9 is supported, it's nigh impossible to figure out the error.

Also, the home (https://github.com/typesafehub/sbteclipse) and installation (https://github.com/typesafehub/sbteclipse/wiki/Installing-sbteclipse) pages mention different sbteclipse versions (4 vs 2.5)

Thanks!

porks commented 8 years ago

what did the trick for me was:

in plugins.sbt: addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")

in build.sbt: resolvers += Classpaths.typesafeResolver

libraryDependencies += "org.scala-lang.modules" %% "scala-java8-compat" % "0.2.0"

After this the command 'sbt eclipse' still did not work, so I had to add in the file ~/.sbt/0.13/plugins/plugins.sbt this: addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")

joney000 commented 8 years ago

remove ~/.sbt/boot/sbt.boot.lock and again try . It worked for me.

patilnikki commented 6 years ago

add the newer version it worked for me. ~/project/plugin.sbt

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")