mirror of https://github.com/sbt/sbt.git
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:
parent
9344dcb63e
commit
1ee23e827e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
* Copyright 2009 Mark Harrah
|
||||
*/
|
||||
package sbt.classfile
|
||||
import sbt._
|
||||
|
||||
import scala.collection.mutable
|
||||
import mutable.{ArrayBuffer, Buffer}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
* Copyright 2009 Mark Harrah
|
||||
*/
|
||||
package sbt.classfile
|
||||
import sbt._
|
||||
|
||||
import java.io.{DataInputStream, File, InputStream}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue