2012/1/11 Maxime Lévesque <[email protected]>

>
> I get the error message bellow, it looks like the wrong error message
> because I got it while
> using SBT 0.11.0 and 0.11.2
>
> The relevant files are :
>
> ============== ./project/build.properties===================
>
>  sbt.version=0.11.0
>
> ============== ./project/plugins.sbt ===================
>
> addSbtPlugin("com.typesafe.startscript" % "xsbt-start-script-plugin" %
> "0.3.0")
>
> ============== ./project/Build.scala ===================
>
>
> import sbt._
> import Keys._
> import com.typesafe.startscript.StartScriptPlugin
>
>
> object Buildz extends Build {
>
>   def buildSettings =
>     Defaults.defaultSettings ++
>     StartScriptPlugin.startScriptForClassesSettings ++ Seq(
>       organization := "net.strong_links",
>       version := "0.9",
>       scalaVersion := "2.9.1",
>         resolvers += ScalaToolsSnapshots
>     )
>
>   lazy val buildProject = Project(
>     id = "project",
>     base = file("project")
>   )
>
>   val jettyVersion = "7.5.4.v20111024"
>
>
>   lazy val htest = Project(
>     id = "htest",
>     base = file("htest"),
>     settings = buildSettings ++ Seq(
>       libraryDependencies  ++= Seq(
>         "net.databinder" %% "unfiltered-filter" % "0.5.1",
>         "net.databinder" %% "unfiltered-jetty" % "0.5.1",
>         "org.slf4j" % "slf4j-api" % "1.6.1",
>         "ch.qos.logback" % "logback-classic" % "1.0.0",
>         "org.eclipse.jetty" % "jetty-webapp" % jettyVersion
>       )
>     )
>   )
>
>   lazy val root = Project(
>     id = "root",
>     base = file("."),
>     settings = buildSettings
>   ) aggregate(htest)
> }
>
> ==============================================================
>
>
> $ git push heroku master
> Counting objects: 19, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (10/10), done.
> Writing objects: 100% (19/19), 1.89 KiB, done.
> Total 19 (delta 1), reused 0 (delta 0)
>
> -----> Heroku receiving push
> -----> Scala app detected
>  !      Error, you have defined an unsupported sbt.version in
> project/build.properties
>  !      You must use a release verison of sbt, sbt.version=0.11.0 or
> greater
>  !     Heroku push rejected, failed to compile Scala app
>
> To [email protected]:radiant-leaf-3551.git
>  ! [remote rejected] master -> master (pre-receive hook declined)
> error: failed to push some refs to '[email protected]:radiant-leaf-3551.git'
>
>
Are there any other files you have not listed here. You can shoot yourself
in the foot by adding something to a .slugignore file in the root of your
repo that heroku uses to lint and resolve the type of app you are deploying.


>  --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/heroku/-/CN1pASrDK_YJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to