Friday, 23 August 2013

How do I set the default system properties for SBT in Windows?

How do I set the default system properties for SBT in Windows?

I am running sbt version 0.12.4 from command line on Windows and by
default I need to use several system properties each time I do it, for
example:
C:\example>sbt -Dsbt.ivy.home=c:\dev\.ivy2
-Dhttp.proxyHost=proxy.mydomain.net -Dhttp.proxyPort=1234
-Dsbt.global.base=c:\dev\.sbt -Dsbt.boot.directory=c:\dev\.sbt\boot
sbt-version
How do I set those system properties to be the default ones?
The Configuration section of the documentation does not say anything about
default sbt.boot.propeties.

No comments:

Post a Comment