Hi All,
I am still building ScalaTest/Scalactic on JDK 6. I want to support JDK 6 so long as Scala supports it, and in the past I've had problems trying to target earlier versions of Java from later versions. The bytecodes came out OK, but not the libraries. To get to the libraries right, we need to build against a JDK 6 library using JDK 7 or 8. I considered that harder to get right on multiple platforms than just building on JDK 6.
The Scala.js folks would like to get off of JDK 6, which would break my one-button build. I'd need to build for the JVM on JDK 6, then switch JDKs to build for Scala.js. I figured I'd need to do this once Scala 2.12 comes out, but I'm curious what other library and tool providers do right now for Scala 2.10 and 2.11. It may be that sbt handles better the compiling for earlier JDKs issue somehow. When I had the problems it was years ago when were still using ant and targeting JDK 5. If the backwards targetting works now, then I can just build on JDK 7, target JDK 6, and keep my one-button build until 2.12 comes out, at which point maybe I could start building on JDK 8.
Thanks.
Bill