diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-26 16:20:50 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-28 11:53:52 -0400 |
commit | bd75b5af0161013b26e2feda9cfcc1e152926071 (patch) | |
tree | 6fef7506f432f780fa64bca5afd5f944790be196 /stage1/constants.scala | |
parent | 2c20a0dddc70a5eee207fb1c588bfd53eaaa7841 (diff) | |
download | cbt-bd75b5af0161013b26e2feda9cfcc1e152926071.tar.gz cbt-bd75b5af0161013b26e2feda9cfcc1e152926071.tar.bz2 cbt-bd75b5af0161013b26e2feda9cfcc1e152926071.zip |
Early classloading improvements
- Changed launcher to already load zinc
- use code generation to generate necessary dependencies
- changed resolver to linearize dependency DAG in a way that guarantees that every transitive dependee of a node in the DAG is a transitive dependee of that node in the linear sequence
- move exit code trapping code into java so it can be used for zinc early
There seems to be a bug in this version, where CBT crashes about half of the time with a "object is not an instance of declaring class" Exception during running the task from the build object via reflection.
Diffstat (limited to 'stage1/constants.scala')
-rw-r--r-- | stage1/constants.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stage1/constants.scala b/stage1/constants.scala index 147e10c..4c39237 100644 --- a/stage1/constants.scala +++ b/stage1/constants.scala @@ -1,5 +1,7 @@ package cbt object constants{ + val scalaXmlVersion = NailgunLauncher.SCALA_XML_VERSION val scalaVersion = NailgunLauncher.SCALA_VERSION + val zincVersion = NailgunLauncher.ZINC_VERSION val scalaMajorVersion = scalaVersion.split("\\.").take(2).mkString(".") } |