aboutsummaryrefslogtreecommitdiff
path: root/stage1/ContextImplementation.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage1/ContextImplementation.scala')
-rw-r--r--stage1/ContextImplementation.scala40
1 files changed, 24 insertions, 16 deletions
diff --git a/stage1/ContextImplementation.scala b/stage1/ContextImplementation.scala
index 30db597..69094b0 100644
--- a/stage1/ContextImplementation.scala
+++ b/stage1/ContextImplementation.scala
@@ -1,20 +1,28 @@
package cbt
import java.io._
-import java.lang._
class ContextImplementation(
- val projectDirectory: File,
- val cwd: File,
- val argsArray: Array[String],
- val enabledLoggersArray: Array[String],
- val startCompat: Long,
- val cbtHasChangedCompat: Boolean,
- val scalaVersionOrNull: String,
- val persistentCache: java.util.Map[AnyRef,AnyRef],
- val transientCache: java.util.Map[AnyRef,AnyRef],
- val cache: File,
- val cbtHome: File,
- val cbtRootHome: File,
- val compatibilityTarget: File,
- val parentBuildOrNull: BuildInterface
-) extends Context
+ override val projectDirectory: File,
+ override val cwd: File,
+ override val argsArray: Array[String],
+ override val enabledLoggersArray: Array[String],
+ override val start: Long,
+ override val cbtLastModified: Long,
+ override val scalaVersionOrNull: String,
+ override val persistentCache: java.util.Map[AnyRef,AnyRef],
+ override val transientCache: java.util.Map[AnyRef,AnyRef],
+ override val cache: File,
+ override val cbtHome: File,
+ override val cbtRootHome: File,
+ override val compatibilityTarget: File,
+ override val parentBuildOrNull: BuildInterface
+) extends Context{
+ @deprecated("this method is replaced by cbtLastModified","")
+ def cbtHasChangedCompat = true
+ @deprecated("this method is replaced by start","")
+ def startCompat = start
+ @deprecated("this methods is replaced by persistentCache","")
+ def permanentKeys = throw new IncompatibleCbtVersionException("You need to upgrade your CBT version in this module. The Context field permanentClassLoaders is no longer supported.");
+ @deprecated("this methods is replaced by persistentCache","")
+ def permanentClassLoaders = throw new IncompatibleCbtVersionException("You need to upgrade your CBT version in this module. The Context field permanentClassLoaders is no longer supported.");
+}