Changes for compatibility with 2.8

git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@927 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
dmharrah 2009-08-02 00:59:54 +00:00
parent 9344dcb63e
commit 1ee23e827e
3 changed files with 4 additions and 2 deletions

View File

@ -245,14 +245,14 @@ trait BasicEnvironment extends Environment
val vals = Environment.reflectiveMappings(this, classOf[Property[_]])
for( (name, property: AnyUserProperty) <- vals)
propertyMap(name) = property
propertyMap.readOnly
propertyMap //.readOnly (not currently in 2.8)
}
private val initialValues: Map[String, String] =
{
val map = new scala.collection.mutable.HashMap[String, String]
for(errorMsg <- impl.MapUtilities.read(map, envBackingPath, log))
log.error("Error loading properties from " + environmentLabel + " : " + errorMsg)
map.readOnly
map //.readOnly (not currently in 2.8)
}
def propertyNames: Iterable[String] = propertyMap.keys.toList

View File

@ -2,6 +2,7 @@
* Copyright 2009 Mark Harrah
*/
package sbt.classfile
import sbt._
import scala.collection.mutable
import mutable.{ArrayBuffer, Buffer}

View File

@ -2,6 +2,7 @@
* Copyright 2009 Mark Harrah
*/
package sbt.classfile
import sbt._
import java.io.{DataInputStream, File, InputStream}