Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Problem finding sbt version 2.8.1;0.7.4 — required by master #44

Closed
eric opened this issue Jun 17, 2011 · 4 comments
Closed

Problem finding sbt version 2.8.1;0.7.4 — required by master #44

eric opened this issue Jun 17, 2011 · 4 comments

Comments

@eric
Copy link
Contributor

eric commented Jun 17, 2011

When I try to compile kestrel I get the following error:

$ sbt clean update package-dist
Getting org.scala-tools.sbt sbt_2.8.1 0.7.4 ...

:: problems summary ::
:::: WARNINGS
        module not found: org.scala-tools.sbt#sbt_2.8.1;0.7.4

    ==== local: tried

      /Users/eric/.ivy2/local/org.scala-tools.sbt/sbt_2.8.1/0.7.4/ivys/ivy.xml

      -- artifact org.scala-tools.sbt#sbt_2.8.1;0.7.4!sbt_2.8.1.jar:

      /Users/eric/.ivy2/local/org.scala-tools.sbt/sbt_2.8.1/0.7.4/jars/sbt_2.8.1.jar

    ==== Maven2 Local: tried

      file:///Users/eric/.m2/repository/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.pom

      -- artifact org.scala-tools.sbt#sbt_2.8.1;0.7.4!sbt_2.8.1.jar:

      file:///Users/eric/.m2/repository/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.jar

    ==== typesafe-ivy-releases: tried

      http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt_2.8.1/0.7.4/ivys/ivy.xml

      -- artifact org.scala-tools.sbt#sbt_2.8.1;0.7.4!sbt_2.8.1.jar:

      http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt_2.8.1/0.7.4/jars/sbt_2.8.1.jar

    ==== Maven Central: tried

      http://repo1.maven.org/maven2/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.pom

      -- artifact org.scala-tools.sbt#sbt_2.8.1;0.7.4!sbt_2.8.1.jar:

      http://repo1.maven.org/maven2/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.jar

    ==== Scala-Tools Maven2 Repository: tried

      http://scala-tools.org/repo-releases/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.pom

      -- artifact org.scala-tools.sbt#sbt_2.8.1;0.7.4!sbt_2.8.1.jar:

      http://scala-tools.org/repo-releases/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.jar

    ==== Scala-Tools Maven2 Snapshots Repository: tried

      http://scala-tools.org/repo-snapshots/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.pom

      -- artifact org.scala-tools.sbt#sbt_2.8.1;0.7.4!sbt_2.8.1.jar:

      http://scala-tools.org/repo-snapshots/org/scala-tools/sbt/sbt_2.8.1/0.7.4/sbt_2.8.1-0.7.4.jar

        ::::::::::::::::::::::::::::::::::::::::::::::

        ::          UNRESOLVED DEPENDENCIES         ::

        ::::::::::::::::::::::::::::::::::::::::::::::

        :: org.scala-tools.sbt#sbt_2.8.1;0.7.4: not found

        ::::::::::::::::::::::::::::::::::::::::::::::



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-tools.sbt#sbt_2.8.1;0.7.4: not found
Error during sbt execution: Error retrieving required libraries
  (see /Users/eric/src/kestrel/project/boot/update.log for complete log)
Error: Could not retrieve sbt 0.7.4

Do I need to do something special to get this to work?

@robey
Copy link
Contributor

robey commented Jun 17, 2011

it looks like it's trying to find a special scala-2.8.1 build of sbt.... but why?

can you confirm that your build.properties has these versions in it?

project.organization=net.lag
project.name=kestrel
sbt.version=0.7.4
project.version=2.1.0-SNAPSHOT
def.scala.version=2.7.7
build.scala.versions=2.8.1
project.initialize=false

@eric
Copy link
Contributor Author

eric commented Jun 17, 2011

I did a brew install sbt and it looks like someone updated sbt from 0.7.7 to 0.10.0.

I just did this to get the older recipe:

$ git checkout 36d0c6211c876312ee7dde4fa87784fc48068b20 -- Library/Formula/sbt.rb

and am trying this again.

Here are the build.properties:

#Project properties
#Thu Jan 20 11:27:12 PST 2011
project.organization=net.lag
project.name=kestrel
sbt.version=0.7.4
project.version=2.1.0-SNAPSHOT
def.scala.version=2.7.7
build.scala.versions=2.8.1
project.initialize=false

@robey
Copy link
Contributor

robey commented Jun 17, 2011

Ah, yeah, we haven't started trying to deal with sbt 10 yet. :) It's a whole new beast.

@eric
Copy link
Contributor Author

eric commented Jun 17, 2011

Yeah, it does look like there are some dragons there...

@eric eric closed this as completed Jun 21, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants