[sbteclipse] Eclipse command not found

已查看 2,901 次
跳至第一个未读帖子

John Nestor

未读,
2012年2月14日 17:54:332012/2/14
收件人 simple-build-tool
I am new to sbt and sbteclipse.

I am using sbt 0.11.2

My build.sbt file contains

name := "test"

version := "1.0"

scalaVersion := "2.9.1"

resolvers += Classpaths.typesafeResolver

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.0.0-
RC1")

I then start sbt and get the following

> eclipse
[error] Not a valid command: eclipse (similar: help, alias)
[error] Not a valid project ID: eclipse
[error] Not a valid configuration: eclipse
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error] ^

Why is it not finding the eclipse command?



Heiko Seeberger

未读,
2012年2月15日 01:51:352012/2/15
收件人 simple-b...@googlegroups.com
Hi John,

On Feb 14, 2012, at 11:54 PM, John Nestor wrote:

> I am new to sbt and sbteclipse.

Welcome!

> I am using sbt 0.11.2
>
> My build.sbt file contains
>
> name := "test"
>
> version := "1.0"
>
> scalaVersion := "2.9.1"
>
> resolvers += Classpaths.typesafeResolver
>
> addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.0.0-
> RC1")

The last two lines have to go into a different file: Plugins have to be defined in project/plugins.sbt or in ~/plugins/plugins.sbt (the name does not matter, but the directory and the suffix).

For details see the excellent getting started guide:
https://github.com/harrah/xsbt/wiki/Getting-Started-Basic-Def
https://github.com/harrah/xsbt/wiki/Getting-Started-Using-Plugins

Heiko

John Nestor

未读,
2012年2月16日 10:50:262012/2/16
收件人 simple-build-tool
Hi Heiko,

Thanks for your help.

I first tried putting the file in ~/plugins/plugins.sbt.
This did not work.
I am running on OSX.

I then tried project/plugins.sbt and this worked fine.

John

On Feb 14, 10:51 pm, Heiko Seeberger <heiko.seeber...@googlemail.com>
wrote:

Heiko Seeberger

未读,
2012年2月16日 12:01:242012/2/16
收件人 simple-b...@googlegroups.com
On Feb 16, 2012, at 4:50 PM, John Nestor wrote:

> I first tried putting the file in ~/plugins/plugins.sbt.

Sorry, my fault. It has to be ~/.sbt/plugins/plugins.sbt
I forgot the .sbt/ directory.
Please try it again, because that's the preferred location for IDE related stuff.

> I am running on OSX.

Of course ;-)

Heiko

Bruce

未读,
2012年3月20日 17:37:112012/3/20
收件人 simple-b...@googlegroups.com
Hi Heiko,

I'm having a related if not identical issue, but haven't been able to resolve it yet.

I get the following output when I type "eclipse" at the sbt prompt:

sbt
[info] Set current project to default-c2e48d (in build file:/Users/bferguson/.sbt/plugins/)
> eclipse
[error] Not a valid command: eclipse (similar: help, alias)
[error] Not a valid project ID: eclipse
[error] Not a valid configuration: eclipse
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error]        ^


I have plugins.sbt in the directory ~/.sbt/plugins on my Mac.

The contents of plugins.sbt is

resolvers += Classpaths.typesafeResolver

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0-SNAPSHOT")

I modified the last "2.1.0-SNAPSHOT" after the suggested fix didn't work for me, and seeing the version in the sbteclipse download

version in ThisBuild := "2.1.0-SNAPSHOT"

I suspect I just don't have the sbteclipse plugin in the correct place, since it just went into my downloads folder.  I have looked, but missed where to place the downloaded plugin.  I'm not sure whether or not I'm even on the right track.  Could you please help?

Cheers,
Bruce

Heiko Seeberger

未读,
2012年3月20日 19:32:152012/3/20
收件人 simple-b...@googlegroups.com
On Mar 20, 2012, at 9:37 PM, Bruce wrote:

> I get the following output when I type "eclipse" at the sbt prompt:
>
> sbt
> [info] Set current project to default-c2e48d (in build file:/Users/bferguson/.sbt/plugins/)

This looks like you try to start sbt in the folder ~/.sbt/plugins. This cannot work. Please create some other empty folder, e.g. ~/projects/foo and start sbt there. Then the eclipse command should be available.

Heiko


Dave

未读,
2012年3月20日 19:54:222012/3/20
收件人 simple-build-tool


On 20 mrt, 22:37, Bruce <bmfergu...@mac.com> wrote:
> Hi Heiko,
>
> I'm having a related if not identical issue, but haven't been able to
> resolve it yet.
>
> I get the following output when I type "eclipse" at the sbt prompt:
>
> sbt
> [info] Set current project to default-c2e48d (in build
> file:/Users/bferguson/.sbt/plugins/)> eclipse
>
> [error] Not a valid command: eclipse (similar: help, alias)
> [error] Not a valid project ID: eclipse
> [error] Not a valid configuration: eclipse
> [error] Not a valid key: eclipse (similar: deliver, licenses, clean)
> [error] eclipse
> [error]        ^
>
> I have plugins.sbt in the directory ~/.sbt/plugins on my Mac.
>
> The contents of plugins.sbt is
>

In ~/.sbt/plugins the name must be build.sbt

Bruce

未读,
2012年3月20日 20:34:502012/3/20
收件人 simple-b...@googlegroups.com
Hi Heiko,

Thanks for responding.  The following is what I get when I run the command in another folder as suggested.  It appears to not be able to find the plugin.

Cheers,
Bruce

sbt
[info] Loading global plugins from /Users/bferguson/.sbt/plugins
[info] Updating {file:/Users/bferguson/.sbt/plugins/}default-c2e48d...
[info] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.1.0-SNAPSHOT ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.0-SNAPSHOT
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.9.1/sbt_0.11.2/2.1.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== public: tried
[warn] ==== Scala-Tools Maven2 Repository: tried
[info] Resolving org.scala-tools.sbt#sbt_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#main_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#actions_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#classfile_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#io_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#control_2.9.1;0.11.2 ...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving org.scala-tools.sbt#interface;0.11.2 ...
[info] Resolving org.scala-tools.sbt#logging_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#process_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#classpath_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#launcher-interface_2.9.1;0.11.2 ...
[info] Resolving org.scala-lang#scala-compiler;2.9.1 ...
[info] Resolving org.scala-tools.sbt#incremental-compiler_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#collections_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#api_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#persist_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ...
[info] Resolving org.scala-tools.sbt#compile_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#ivy_2.9.1;0.11.2 ...
[info] Resolving org.apache.ivy#ivy;2.2.0 ...
[info] Resolving com.jcraft#jsch;0.1.31 ...
[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-tools.sbt#completion_2.9.1;0.11.2 ...
[info] Resolving jline#jline;0.9.94 ...
[info] Resolving org.scala-tools.sbt#run_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#task-system_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#tasks_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#tracking_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#cache_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#testing_2.9.1;0.11.2 ...
[info] Resolving org.scala-tools.testing#test-interface;0.5 ...
[info] Resolving org.scala-tools.sbt#compiler-interface;0.11.2 ...
[info] Resolving org.scala-tools.sbt#precompiled-2_8_1;0.11.2 ...
[info] Resolving org.scala-tools.sbt#precompiled-2_8_0;0.11.2 ...
[info] Resolving org.scala-tools.sbt#precompiled-2_9_0;0.11.2 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.0-SNAPSHOT: 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.0-SNAPSHOT (sbtVersion=0.11.2, scalaVersion=2.9.1)
[warn] 
[error] {file:/Users/bferguson/.sbt/plugins/}default-c2e48d/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.0-SNAPSHOT: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

Bruce

未读,
2012年3月20日 20:49:192012/3/20
收件人 simple-b...@googlegroups.com
Thanks Dave,

I made that change, and I now get the following output.  I thought I had installed Scala 2.9.1 on my Mac, but I guess that was just in Eclipse.  I'll do that next.

Cheers,
Bruce

sbt
[info] Loading global plugins from /Users/bferguson/.sbt/plugins
[info] Set current project to hello (in build file:/Users/bferguson/sbtProjects/hello/)
> eclipse
[info] About to create Eclipse project files for your project(s).
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== public: tried
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== public: tried
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== public: tried
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== public: tried
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[error] Could not create Eclipse project files: Error evaluating task 'external-dependency-classpath': error, Error evaluating task 'update': error, Error evaluating task 'external-dependency-classpath': error, Error evaluating task 'update': error

Bruce

未读,
2012年3月20日 20:54:432012/3/20
收件人 simple-b...@googlegroups.com
I thought I had not installed Scala 2.9.1 when I installed sbt, but apparently I had

Error: scala-2.9.1-1 already installed
Error: sbt-0.11.2 already installed


On Tuesday, 20 March 2012 19:54:22 UTC-4, Dave wrote:


On 20 mrt, 22:37, Bruce  wrote:

Heiko Seeberger

未读,
2012年3月21日 03:46:302012/3/21
收件人 simple-b...@googlegroups.com
On Mar 20, 2012, at 11:54 PM, Dave wrote:

> In ~/.sbt/plugins the name must be build.sbt

The name does not matter, as long as it ends with .sbt.
I actually prefer plugins.sbt, in order not to mix it up with ~/.sbt/build.sbt

Heiko

Heiko Seeberger

未读,
2012年3月21日 03:48:262012/3/21
收件人 simple-b...@googlegroups.com
Please use sbt 0.11.2 and sbtecipse 2.0.0.
The 2.1.0-SNAPSHOT is for sbt 0.12.0-M1 only!

Heiko

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/bgsdhLRAO9AJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

Dave

未读,
2012年3月21日 08:33:532012/3/21
收件人 simple-build-tool
>
> The contents of plugins.sbt is
>
> resolvers += Classpaths.typesafeResolver
>
> addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" %
> "2.1.0-SNAPSHOT")
>
> I modified the last "2.1.0-SNAPSHOT" after the suggested fix didn't work
> for me, and seeing the version in the sbteclipse download
>
> version in ThisBuild := "2.1.0-SNAPSHOT"
>


If you use snapshots you need to add this line as well:

resolvers += Classpaths.typesafeSnapshots

Dave

未读,
2012年3月21日 09:03:172012/3/21
收件人 simple-build-tool
> [warn] ==== Scala-Tools Maven2 Repository: tried
> [warn] http://scala-tools.org/repo-releases/com/typesafe/sbteclipse/sbteclip...
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: UNRESOLVED DEPENDENCIES ::
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]
> [warn] Note: Some unresolved dependencies have extra attributes.


I don't know of sbteclipse version 1.3-RC2

Bruce

未读,
2012年3月21日 09:19:052012/3/21
收件人 simple-b...@googlegroups.com
Ok, I've renamed the file to plugins.sbt.  The file contains the following 2 lines:

resolvers += Classpaths.typesafeResolver

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

and I get the output below with unresolved dependencies relating to sbteclipse_2.9.1;1.3-RC2 when I run it.  It seems to me that I must have missed a step along the way somewhere.  What I did was load the Typesafe stack using the brew command as suggested, created the plugins.sbt file, cut and paste the addSbtPlug line from the sbteclipse github site, and typed the line preceding it after seeing it somewhere (possibly earlier in this thread).  Is there something else I should have done?

info] Loading global plugins from /Users/bferguson/.sbt/plugins
[info] Updating {file:/Users/bferguson/.sbt/plugins/}default-c2e48d...
[info] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse-core;2.0.0 ...
[info] Resolving org.scalaz#scalaz-core_2.9.1;6.0.3 ...
[info] Done updating.
[info] Loading project definition from /Users/bferguson/sbtProjects/hello/project
[info] Updating {file:/Users/bferguson/sbtProjects/hello/project/}default-593bf9...
[info] Resolving default#default-c2e48d;0.0 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse-core;2.0.0 ...
[info] Resolving org.scalaz#scalaz-core_2.9.1;6.0.3 ...
[info] Done updating.
[info] Set current project to hello (in build file:/Users/bferguson/sbtProjects/hello/)
> eclipse
[info] About to create Eclipse project files for your project(s).
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
[warn] ==== local: tried
[warn]   /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-RC2/ivys/ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/    com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9.1-1.3-RC2.    xml
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
[warn] 
[error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
[error] Could not create Eclipse project files: Error evaluating task 'external-dependency-classpath': error, Error evaluating task 'update': error, Error evaluating task 'external-dependency-classpath': error, Error evaluating task 'update': error

Dave

未读,
2012年3月21日 09:57:552012/3/21
收件人 simple-build-tool
I think you have to search in your sbt and project file tree where
string "1.3-RC2" comes from.

Maybe "reload clean update eclipse" helps

On 21 mrt, 14:19, Bruce <bmfergu...@mac.com> wrote:
> Ok, I've renamed the file to plugins.sbt.  The file contains the following
> 2 lines:...
>
> meer lezen »
> /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-R­C2/ivys/ivy.xml
> [warn] ==== Typesafe Repository: tried
> [warn]  http://repo.typesafe.com/typesafe/releases/
>  com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9­.1-1.3-RC2.
>    xml
> [warn] ==== public: tried
> [warn]  http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse_2.9....
> [warn] ==== Scala-Tools Maven2 Repository: tried
> [warn]  http://scala-tools.org/repo-releases/com/typesafe/sbteclipse/sbteclip...
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] ::          UNRESOLVED DEPENDENCIES         ::
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
> [warn]
> [error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update:
> sbt.ResolveException: unresolved dependency:
> com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
> [info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
> [info] Resolving org.scala-lang#scala-library;2.9.1 ...
> [info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
> [warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
> [warn] ==== local: tried
> [warn]
> /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-R­C2/ivys/ivy.xml
> [warn] ==== Typesafe Repository: tried
> [warn]  http://repo.typesafe.com/typesafe/releases/
>  com.typesafe.sbteclipse/sbteclipse_2.9.1/0.11.2/1.3-RC2/ivys/sbteclipse_2.9­.1-1.3-RC2.
>    xml
> [warn] ==== public: tried
> [warn]  http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse_2.9....
> [warn] ==== Scala-Tools Maven2 Repository: tried
> [warn]  http://scala-tools.org/repo-releases/com/typesafe/sbteclipse/sbteclip...
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] ::          UNRESOLVED DEPENDENCIES         ::
> [warn] ::::::::::::::::::::::::::::::::::::::::::::::
> [warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: 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_2.9.1:1.3-RC2 (sbtversion=0.11.2)
> [warn]
> [error] {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e/*:update:
> sbt.ResolveException: unresolved dependency:
> com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2: not found
> [info] Updating {file:/Users/bferguson/sbtProjects/hello/}default-c10d7e...
> [info] Resolving org.scala-lang#scala-library;2.9.1 ...
> [info] Resolving com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2 ...
> [warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.1;1.3-RC2
> [warn] ==== local: tried
> [warn]
> /Users/bferguson/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.1/1.3-R­C2/ivys/ivy.xml

Bruce

未读,
2012年3月21日 11:29:382012/3/21
收件人 simple-b...@googlegroups.com
Hi Dave,

I tried your suggestion, but it didn't help.  I also tried each command individually, and it came up with the unresolved dependencies on the update.

I've also searched my MacBook Pro trying to find a reference for 1.3-R­C2, and I can't find one.

Bruce


On Wednesday, 21 March 2012 09:57:55 UTC-4, Dave wrote:
I think you have to search in your sbt and project file tree where
string "1.3-RC2" comes from.

Maybe "reload clean update eclipse" helps

On 21 mrt, 14:19, Bruce  wrote:

Bruce

未读,
2012年3月21日 11:55:002012/3/21
收件人 simple-b...@googlegroups.com
Ok, problem solved!  The issue was that I had some bogus lines in my local build.sbt file.  After I removed them, it worked just fine.

Thanks for your help guys!!

Cheers,
Bruce

Peter

未读,
2013年4月15日 05:53:172013/4/15
收件人 simple-b...@googlegroups.com、heiko.s...@googlemail.com
Heiko,
since I had the very same issue right now, I can tell you that the name does matter. Clearly, it shouldn't. This is with sbt 0.12.1.
So I'd suggest correcting the README at https://github.com/typesafehub/sbteclipse to use build.sbt.
Peter

Heiko Seeberger

未读,
2013年4月15日 07:01:042013/4/15
收件人 simple-b...@googlegroups.com
Peter,

The name does *not* matter, only the .sbt suffix . Actually it is quite common to have multiple .sbt files for the build or the plugins.

If you observe something else, please create a reproducible test case on GitHub.

Heiko

--

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

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.

To post to this group, send email to simple-b...@googlegroups.com.

v ck

未读,
2014年7月22日 05:29:212014/7/22
收件人 simple-b...@googlegroups.com
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.3.0")

resolvers += Resolver.sonatypeRepo("public")

I added the above to *.sbt to get it working on OSX. Just adding the first line was not resolving the issue.
This point is clearly mentioned in the http://www.scala-sbt.org/release/tutorial/Using-Plugins.html

Thanks
~v
回复全部
回复作者
转发
0 个新帖子