From a0b5874d5f8df744aaf4a6e816cbca1fb3fa561a Mon Sep 17 00:00:00 2001 From: Mike Thomas Date: Tue, 13 Nov 2007 17:49:05 +0000 Subject: [PATCH] Since we're dropping in individual files here, always assume out of date rather than using the directory's modification time. Eventually, maybe we can scan the directory for the newest file and use that, but we'll cross that bridge later. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@346 ed5b42cb-e716-0410-a449-f6a68f950b19 --- .../cast/bundle/tools/DirectoryComponentBundlerTask.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/java/com/threerings/cast/bundle/tools/DirectoryComponentBundlerTask.java b/src/java/com/threerings/cast/bundle/tools/DirectoryComponentBundlerTask.java index 02d17dbc..d3ab04e4 100644 --- a/src/java/com/threerings/cast/bundle/tools/DirectoryComponentBundlerTask.java +++ b/src/java/com/threerings/cast/bundle/tools/DirectoryComponentBundlerTask.java @@ -61,5 +61,10 @@ public class DirectoryComponentBundlerTask extends ComponentBundlerTask return TrimmedTileSet.trimTileSet(aset, fout, "png"); } - -} + @Override // documentation inherited + protected boolean outOfDate (Object source, File target) + { + // Since we're updating individual files, assume always out of date and rebuild. + return true; + } + }