Closed SethTisue closed 8 years ago
we should return to this later in the 2.12 cycle. deferring for now (with @adriaanm's consent)
I think we're going to need this to publish M4?
From https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-windows/134/console
[scala-2.12.x-integrate-windows] $ C:\cygwin\bin\bash -ex y:\tmp\hudson5002899977190592437.sh
+ '[' -f /usr/local/share/jvm/jvm-select ']'
+ echo 'WARNING: jvm-select not present. using system default Java'
WARNING: jvm-select not present. using system default Java
+ source scripts/jobs/integrate/windows
I'm a little confused by what goes on in that job. It fails with:
+ eval exec '"/cygdrive/c/java/jdk-1.6/jre/bin/java"' -Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -classpath '"C:/apache-ant-1.9.6/lib/ant-launcher.jar"' '-Dant.home="C:/apache-ant-1.9.6"' '-Dant.library.dir="C:/apache-ant-1.9.6/lib"' '-Dcygwin.user.home="Y:/jenkins"' org.apache.tools.ant.launch.Launcher -cp '""' ' "-Dstarr.version=2.11.7" "-Dscalac.args.optimise=-optimise" "-Dlocker.skip=1" "test"'
++ exec /cygdrive/c/java/jdk-1.6/jre/bin/java -Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -classpath C:/apache-ant-1.9.6/lib/ant-launcher.jar -Dant.home=C:/apache-ant-1.9.6 -Dant.library.dir=C:/apache-ant-1.9.6/lib -Dcygwin.user.home=Y:/jenkins org.apache.tools.ant.launch.Launcher -cp '' -Dstarr.version=2.11.7 -Dscalac.args.optimise=-optimise -Dlocker.skip=1 test
Buildfile: y:\jenkins\workspace\scala-2.12.x-integrate-windows\build.xml
desired.jars.uptodate:
boot:
init.git:
init:
[copy] Copying 2 files to y:\jenkins\workspace\scala-2.12.x-integrate-windows\build\deps\junit
[copy] Copying 29 files to y:\jenkins\workspace\scala-2.12.x-integrate-windows\build\deps\pax.exam
[copy] Copying 1 file to y:\jenkins\workspace\scala-2.12.x-integrate-windows\build\deps\asm
[copy] Copying 4 files to y:\jenkins\workspace\scala-2.12.x-integrate-windows\build\deps\partest
[copy] Copying 1 file to y:\jenkins\workspace\scala-2.12.x-integrate-windows\build\deps\repl
[copy] Copying 3 files to y:\jenkins\workspace\scala-2.12.x-integrate-windows\build\deps\scaladoc
[echo] Using Scala 2.11.7 for STARR.
[copy] Copying 5 files to y:\jenkins\workspace\scala-2.12.x-integrate-windows\build\deps\starr
BUILD FAILED
y:\jenkins\workspace\scala-2.12.x-integrate-windows\build.xml:456:
JDK 1.6 is not supported by this build!
I went in and just hardcoded the java home for now right in the script 👼
2.11.x stuff needs to be generalized for jdk 6 vs 8. some previous details at #36