Skip to content

Commit

Permalink
Update SbtTutorial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
axel22 committed Mar 21, 2013
1 parent 8718a8b commit 1a6833a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions SbtTutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ You can start the Scala interpreter inside sbt using the `console` task. The int

In order to quit the interpreter and get back to sbt, type `ctrl-d`.

> console # In the sbt shell, we run the task `console`
> console
[info] Starting scala interpreter...
Welcome to Scala version 2.10.0-M5 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_33).
Welcome to Scala version 2.10.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_04-ea).
Type in expressions to have them evaluated.
Type :help for more information.

Expand All @@ -36,7 +36,7 @@ In order to quit the interpreter and get back to sbt, type `ctrl-d`.
squares: List[Int] = List(1, 4, 9)

scala> # Type [ctrl-d] to exit the Scala REPL
[success] Total time: 20 s, completed Aug 10, 2012 10:08:23 PM
[success] Total time: 20 s, completed Mar 21, 2013 11:02:31 AM
> # We're back to the sbt shell


Expand All @@ -45,8 +45,8 @@ In order to quit the interpreter and get back to sbt, type `ctrl-d`.
The `compile` task will compile the source code of the assignment which is located in the directory `src/main/scala`.

> compile
[info] Compiling 4 Scala sources to /Users/luc/example/target/scala-2.10.0-M5/classes...
[success] Total time: 2 s, completed Aug 10, 2012 10:00:26 PM
[info] Compiling 4 Scala sources to /Users/aleksandar/example/target/scala-2.10.1/classes...
[success] Total time: 1 s, completed Mar 21, 2013 11:04:46 PM
>

If the source code contains errors, the error messages from the compiler will be displayed.
Expand Down Expand Up @@ -112,9 +112,9 @@ The sbt task `submit` allows you to submit your solution for the assignment. It
The `submit` tasks takes two arguments: your e-mail address and the submission password. **NOTE**: the submission password is **not your login password**. Instead, it's a special password generated by coursera. It is available on the [Assignments](../assignment/index) page.

> submit [email protected] suBmISsioNPasSwoRd
[info] Packaging /Users/luc/example/target/scala-2.10.0-M5/progfun-example_2.10.0-M5-1.0.0-sources.jar ...
[info] Packaging /Users/luc/example/target/scala-2.10.1/progfun-example_2.10.1-1.0.0-sources.jar ...
[info] Done packaging.
[info] Compiling 1 Scala source to /Users/luc/example/target/scala-2.10.0-M5/classes...
[info] Compiling 1 Scala source to /Users/luc/example/target/scala-2.10.1/classes...
[info] Connecting to coursera. Obtaining challenge...
[info] Computing challenge response...
[info] Submitting solution...
Expand Down

0 comments on commit 1a6833a

Please sign in to comment.