diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-15 22:02:09 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-19 12:12:38 +0800 |
commit | 2f2035682a942814a4a3e34dc4e61c34d00c1fa7 (patch) | |
tree | 81cd8b9085b39d1ff1fec60b0261e592208503a7 /stage2/Lib.scala | |
parent | ca56236260f2bf801dedca434b61380463d9e038 (diff) | |
download | cbt-2f2035682a942814a4a3e34dc4e61c34d00c1fa7.tar.gz cbt-2f2035682a942814a4a3e34dc4e61c34d00c1fa7.tar.bz2 cbt-2f2035682a942814a4a3e34dc4e61c34d00c1fa7.zip |
top-level instead of anonymous classes
to allow these to work with the dynamic configuration
features .copy and DynamicOverride
Diffstat (limited to 'stage2/Lib.scala')
-rw-r--r-- | stage2/Lib.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala index 1ecc99e..7adb33e 100644 --- a/stage2/Lib.scala +++ b/stage2/Lib.scala @@ -47,9 +47,9 @@ final class Lib(val logger: Logger) extends Stage1Lib(logger){ || directory == (context.cbtHome ++ "/libraries/eval") || directory == (context.cbtHome ++ "/plugins/scalatest") ) - new cbt.BasicBuild( context.copy( workingDirectory = start ) ) with BuildBuildWithoutEssentials + new cbt.ConcreteBuildBuildWithoutEssentials( context.copy( workingDirectory = start ) ) else - new cbt.BasicBuild( context.copy( workingDirectory = start ) ) with BuildBuild + new cbt.ConcreteBuildBuild( context.copy( workingDirectory = start ) ) } catch { case e:ClassNotFoundException if e.getMessage == buildClassName => throw new Exception(s"no class ${buildClassName} found in " ++ start.string) |