-Djna.nosys=true

This commit is contained in:
Eugene Yokota 2017-12-19 02:12:03 -05:00
parent 294110e2b8
commit 3507403a36
2 changed files with 3 additions and 5 deletions

View File

@ -4,8 +4,6 @@ init:
- git config --global core.autocrlf input
install:
- cinst nodejs -params 'installdir=C:\\nodejs'
- SET PATH=C:\nodejs\bin;%PATH%
- cinst jdk8 -params 'installdir=C:\\jdk8'
- SET JAVA_HOME=C:\jdk8
- SET PATH=C:\jdk8\bin;%PATH%
@ -22,5 +20,5 @@ install:
- SET PATH=C:\sbt\sbt\bin;%PATH%
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4g -Dfile.encoding=UTF8
test_script:
- sbt "scripted actions/*"
- sbt "scripted server/*"
- sbt "-Djna.nosys=true" "scripted actions/*"
- sbt "-Djna.nosys=true" "scripted server/*"

View File

@ -572,7 +572,7 @@ def otherRootSettings =
scriptedUnpublished := scriptedUnpublishedTask.evaluated,
scriptedSource := (sourceDirectory in sbtProj).value / "sbt-test",
// scriptedPrescripted := { addSbtAlternateResolver _ },
scriptedLaunchOpts := List("-Xmx1500M", "-Xms512M", "-server"),
scriptedLaunchOpts := List("-Xmx1500M", "-Xms512M", "-server", "-Djna.nosys=true"),
publishAll := { val _ = (publishLocal).all(ScopeFilter(inAnyProject)).value },
publishLocalBinAll := { val _ = (publishLocalBin).all(ScopeFilter(inAnyProject)).value },
aggregate in bintrayRelease := false