forked from lampepfl/progfun-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
||
|
@@ -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 | ||
|
||
|
||
|
@@ -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. | ||
|
@@ -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... | ||
|