Last active
August 29, 2015 14:15
-
-
Save yukinagae/6b5fb6a710b0ba77c11d to your computer and use it in GitHub Desktop.
【STEP3】run(実行)する : Scalaでコードを書く ref: http://qiita.com/yukinagae/items/a5e5ef37e5a9cf765d55
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
| cd [プロジェクトのルートディレクトリ] |
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
| activator.bat |
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
| [info] Running com.example.Hello | |
| Aloha, world! | |
| [success] Total time: 0 s, completed 2015/02/22 14:19:00 | |
| 1. Waiting for source changes... (press enter to interrupt) |
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
| [info] Compiling 1 Scala source to /Applications/eclipse/workspace/minimal-scala/target/scala-2.11/classes... | |
| [info] Running com.example.Hello | |
| Bye, world! | |
| [success] Total time: 4 s, completed 2015/02/22 14:20:00 | |
| 2. Waiting for source changes... (press enter to interrupt) |
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
| [info] Compiling 1 Scala source to /Applications/eclipse/workspace/minimal-scala/target/scala-2.11/classes... | |
| [info] Running com.example.Hello | |
| Bye, world! | |
| [success] Total time: 4 s, completed 2015/02/22 14:20:00 | |
| 2. Waiting for source changes... (press enter to interrupt) |
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
| ./activator |
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
| > run |
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
| [info] Running com.example.Hello | |
| Hello, world! | |
| [success] Total time: 0 s, completed 2015/02/22 14:16:00 | |
| > |
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
| > run |
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
| > run |
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
| [info] Running com.example.Hello | |
| Aloha, world! | |
| [success] Total time: 0 s, completed 2015/02/22 14:18:00 | |
| > |
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
| > ~run |
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
| package com.example | |
| object Hello { | |
| def main(args: Array[String]): Unit = { | |
| println("Bye, world!") | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment