Turned off caching in the packer as it's currently creating more problems than it solves.

This commit is contained in:
Martin Haye 2016-07-14 14:19:38 -07:00
parent df02ca2367
commit 95e4651123

View File

@ -1634,16 +1634,19 @@ class A2PackPartitions
def readCache()
{
/* This isn't working reliably lately
File cacheFile = new File("build/world.cache")
if (cacheFile.exists()) {
ObjectInputStream inStream = new ObjectInputStream(new FileInputStream(cacheFile));
cache = inStream.readObject();
inStream.close()
}
*/
}
def writeCache()
{
/* This isn't working reliably lately
File cacheFile = new File("build/world.cache")
File newCacheFile = new File("build/world.cache.new")
ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(newCacheFile));
@ -1651,6 +1654,7 @@ class A2PackPartitions
out.close()
cacheFile.delete() // needed on Windows
newCacheFile.renameTo(cacheFile)
*/
}
def pack(xmlPath)