Archiwa tagu: scala

Scala Goodness: passing parameter to the typesafe config

TweetIf you want to pass a parameter to the typesafe config which overrides config property, you’ve to slightly change config property itself. So, let’s see how the config property looks like: param { input1 = „default value for input 1″ … Czytaj dalej

Opublikowano config, sbt, scala, scala goodness, typesafe | Otagowano , , , , , | Komentowanie nie jest możliwe

Pass parameter to scala sbt from command line.

TweetIf you need to pass a parameter to your sbt build you have to use -D command and then put key=value pair. In the sbt file you can read it by calling System.getProperty(„key”). Here is an complete example with scala … Czytaj dalej

Opublikowano scala | Otagowano , , , | Komentowanie nie jest możliwe