Skip to content

Instantly share code, notes, and snippets.

@oskarth
Created May 10, 2014
Embed
What would you like to do?
scala new wtf 5minutes later
>sbt new progfun
Getting org.scala-sbt sbt 0.13.2 ...
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.2/jars/sbt.jar ...
[SUCCESSFUL ] org.scala-sbt#sbt;0.13.2!sbt.jar (2719ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main/0.13.2/jars/main.jar ...
[SUCCESSFUL ] org.scala-sbt#main;0.13.2!main.jar (13122ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.2/jars/compiler-interface-bin.jar ...
[SUCCESSFUL ] org.scala-sbt#compiler-interface;0.13.2!compiler-interface-bin.jar (2064ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.2/jars/compiler-interface-src.jar ...
[SUCCESSFUL ] org.scala-sbt#compiler-interface;0.13.2!compiler-interface-src.jar (1525ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_8_2/0.13.2/jars/compiler-interface-bin.jar ...
[SUCCESSFUL ] org.scala-sbt#precompiled-2_8_2;0.13.2!compiler-interface-bin.jar (4724ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_9_2/0.13.2/jars/compiler-interface-bin.jar ...
[SUCCESSFUL ] org.scala-sbt#precompiled-2_9_2;0.13.2!compiler-interface-bin.jar (5294ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_9_3/0.13.2/jars/compiler-interface-bin.jar ...
[SUCCESSFUL ] org.scala-sbt#precompiled-2_9_3;0.13.2!compiler-interface-bin.jar (3727ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/actions/0.13.2/jars/actions.jar ...
[SUCCESSFUL ] org.scala-sbt#actions;0.13.2!actions.jar (7605ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main-settings/0.13.2/jars/main-settings.jar ...
[SUCCESSFUL ] org.scala-sbt#main-settings;0.13.2!main-settings.jar (9689ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/interface/0.13.2/jars/interface.jar ...
[SUCCESSFUL ] org.scala-sbt#interface;0.13.2!interface.jar (3167ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/io/0.13.2/jars/io.jar ...
[SUCCESSFUL ] org.scala-sbt#io;0.13.2!io.jar (4852ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/ivy/0.13.2/jars/ivy.jar ...
[SUCCESSFUL ] org.scala-sbt#ivy;0.13.2!ivy.jar (8162ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/launcher-interface/0.13.2/jars/launcher-interface.jar ...
[SUCCESSFUL ] org.scala-sbt#launcher-interface;0.13.2!launcher-interface.jar (4049ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/logging/0.13.2/jars/logging.jar ...
[SUCCESSFUL ] org.scala-sbt#logging;0.13.2!logging.jar (4526ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/process/0.13.2/jars/process.jar ...
[SUCCESSFUL ] org.scala-sbt#process;0.13.2!process.jar (3412ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/run/0.13.2/jars/run.jar ...
[SUCCESSFUL ] org.scala-sbt#run;0.13.2!run.jar (3559ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/command/0.13.2/jars/command.jar ...
[SUCCESSFUL ] org.scala-sbt#command;0.13.2!command.jar (5209ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classpath/0.13.2/jars/classpath.jar ...
[SUCCESSFUL ] org.scala-sbt#classpath;0.13.2!classpath.jar (3083ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/completion/0.13.2/jars/completion.jar ...
[SUCCESSFUL ] org.scala-sbt#completion;0.13.2!completion.jar (6627ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/api/0.13.2/jars/api.jar ...
[SUCCESSFUL ] org.scala-sbt#api;0.13.2!api.jar (4344ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-integration/0.13.2/jars/compiler-integration.jar ...
[SUCCESSFUL ] org.scala-sbt#compiler-integration;0.13.2!compiler-integration.jar (2347ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-ivy-integration/0.13.2/jars/compiler-ivy-integration.jar ...
[SUCCESSFUL ] org.scala-sbt#compiler-ivy-integration;0.13.2!compiler-ivy-integration.jar (1296ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/relation/0.13.2/jars/relation.jar ...
[SUCCESSFUL ] org.scala-sbt#relation;0.13.2!relation.jar (1597ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/task-system/0.13.2/jars/task-system.jar ...
[SUCCESSFUL ] org.scala-sbt#task-system;0.13.2!task-system.jar (3028ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/tasks/0.13.2/jars/tasks.jar ...
[SUCCESSFUL ] org.scala-sbt#tasks;0.13.2!tasks.jar (3495ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/tracking/0.13.2/jars/tracking.jar ...
[SUCCESSFUL ] org.scala-sbt#tracking;0.13.2!tracking.jar (4825ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/testing/0.13.2/jars/testing.jar ...
[SUCCESSFUL ] org.scala-sbt#testing;0.13.2!testing.jar (2665ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/control/0.13.2/jars/control.jar ...
[SUCCESSFUL ] org.scala-sbt#control;0.13.2!control.jar (1893ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/collections/0.13.2/jars/collections.jar ...
[SUCCESSFUL ] org.scala-sbt#collections;0.13.2!collections.jar (6261ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/incremental-compiler/0.13.2/jars/incremental-compiler.jar ...
[SUCCESSFUL ] org.scala-sbt#incremental-compiler;0.13.2!incremental-compiler.jar (3587ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compile/0.13.2/jars/compile.jar ...
[SUCCESSFUL ] org.scala-sbt#compile;0.13.2!compile.jar (2637ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/persist/0.13.2/jars/persist.jar ...
[SUCCESSFUL ] org.scala-sbt#persist;0.13.2!persist.jar (1747ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classfile/0.13.2/jars/classfile.jar ...
[SUCCESSFUL ] org.scala-sbt#classfile;0.13.2!classfile.jar (1492ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/cross/0.13.2/jars/cross.jar ...
[SUCCESSFUL ] org.scala-sbt#cross;0.13.2!cross.jar (1296ms)
downloading http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar ...
[SUCCESSFUL ] org.apache.ivy#ivy;2.3.0!ivy.jar (11445ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/cache/0.13.2/jars/cache.jar ...
[SUCCESSFUL ] org.scala-sbt#cache;0.13.2!cache.jar (4628ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/test-agent/0.13.2/jars/test-agent.jar ...
[SUCCESSFUL ] org.scala-sbt#test-agent;0.13.2!test-agent.jar (2727ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/apply-macro/0.13.2/jars/apply-macro.jar ...
[SUCCESSFUL ] org.scala-sbt#apply-macro;0.13.2!apply-macro.jar (4334ms)
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
43 artifacts copied, 0 already retrieved (13041kB/320ms)
[info] Set current project to git (in build file:/Users/oskarth/git/)
[error] Not a valid command: new (similar: set)
[error] Not a valid project ID: new
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: new (similar: name, run, runner)
[error] new
[error] ^
@oskarth
Copy link
Author

oskarth commented May 10, 2014

In Clojure len new foo is how you create a new project, so just guessing.

To be fair, it was just getting all its dependencies. But why does it need all of these? And why can't it tell me straight away that that's now how you call it?

You just want to whine, don't you ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment