Created
February 18, 2012 13:49
-
-
Save arturaz/1859332 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arturas@zeus:~/work/as3_stacktracer$ cat project/plugins.sbt | |
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.7.3") | |
resolvers += Resolver.url("sbt-plugin-releases", | |
new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns) | |
arturas@zeus:~/work/as3_stacktracer$ cat project/Build.scala | |
import sbt._ | |
import Keys._ | |
import sbtassembly.Plugin._ | |
import AssemblyKeys._ | |
object AS3StacktracerBuild extends Build { | |
override lazy val settings = super.settings ++ Seq( | |
name := "AS3Stacktracer", | |
organization := "com.tinylabproductions", | |
version := "1.0.0", | |
scalaVersion := "2.9.1" | |
) | |
lazy val stacktracer = Project( | |
id = "AS3Stacktracer", | |
base = file("."), | |
settings = Project.defaultSettings ++ Seq( | |
libraryDependencies := Seq( | |
"com.github.scala-incubator.io" %% "scala-io-core" % "0.3.0", | |
"com.github.scala-incubator.io" %% "scala-io-file" % "0.3.0" | |
) | |
) | |
) | |
} | |
arturas@zeus:~/work/as3_stacktracer$ sbt | |
[info] Set current project to default-431228 (in build file:/home/arturas/.sbt/plugins/) | |
[info] Compiling 1 Scala source to /home/arturas/work/as3_stacktracer/project/target/scala_2.8.1/classes... | |
[error] /home/arturas/work/as3_stacktracer/project/Build.scala:3: not found: value sbtassembly | |
[error] import sbtassembly.Plugin._ | |
[error] ^ | |
[error] /home/arturas/work/as3_stacktracer/project/Build.scala:7: value settings is not a member of AnyRef with ScalaObject | |
[error] override lazy val settings = super.settings ++ Seq( | |
[error] ^ | |
[error] two errors found | |
Project loading failed: (r)etry, (q)uit, or (i)gnore? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment