diff --git a/.appveyor.yml b/.appveyor.yml index 1cc9a9906..45e3cfd3f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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/*" diff --git a/build.sbt b/build.sbt index dcedffd62..8000bd603 100644 --- a/build.sbt +++ b/build.sbt @@ -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