Truth in commenting: the DirectoryTileSetBundler isn't rewriting things in our own image format

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@392 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2008-01-10 19:55:45 +00:00
parent 9733142d35
commit 56df6f1913
@@ -120,8 +120,7 @@ public class DirectoryTileSetBundler extends TileSetBundler
} }
} else { } else {
// read the image file and convert it to our custom // read the image file and write it to the proper place
// format in the bundle
File ifile = new File(imageBase, imagePath); File ifile = new File(imageBase, imagePath);
if (ifile.lastModified() > newestMod) { if (ifile.lastModified() > newestMod) {
// Our file's newer than the newest bundle mod - up to date. // Our file's newer than the newest bundle mod - up to date.
@@ -140,8 +139,7 @@ public class DirectoryTileSetBundler extends TileSetBundler
FileInputStream imgin = new FileInputStream(ifile); FileInputStream imgin = new FileInputStream(ifile);
IOUtils.copy(imgin, fout); IOUtils.copy(imgin, fout);
} catch (Exception e) { } catch (Exception e) {
String msg = "Failure bundling image " + ifile + String msg = "Failure bundling image " + ifile + ": " + e;
": " + e;
throw (IOException) new IOException(msg).initCause(e); throw (IOException) new IOException(msg).initCause(e);
} }
} }