Created
February 23, 2015 15:56
-
-
Save petekneller/0b489796e0e80e3730c3 to your computer and use it in GitHub Desktop.
Dumping system props (drop this in a dir and do "sbt 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 props | |
object Main extends App { | |
import System._ | |
import scala.collection.JavaConversions._ | |
getProperties.stringPropertyNames().foreach{ pn => println(s"$pn -> ${getProperty(pn)}") } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment