bodewig 2004/05/25 05:14:04 Modified: src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH Sync.java Log: Merge fix for PR#22150 Revision Changes Path No revision No revision 1.7.2.5 +13 -1 ant/src/main/org/apache/tools/ant/taskdefs/Sync.java Index: Sync.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Sync.java,v retrieving revision 1.7.2.4 retrieving revision 1.7.2.5 diff -u -r1.7.2.4 -r1.7.2.5 --- Sync.java 9 Mar 2004 17:01:34 -0000 1.7.2.4 +++ Sync.java 25 May 2004 12:14:03 -0000 1.7.2.5 @@ -285,6 +285,18 @@ } /** + * The number of milliseconds leeway to give before deciding a + * target is out of date. + * + * <p>Default is 0 milliseconds, or 2 seconds on DOS systems.</p> + * + * @since Ant 1.6.2 + */ + public void setGranularity(long granularity) { + _copy.setGranularity(granularity); + } + + /** * Subclass Copy in order to access it's file/dir maps. */ public static class MyCopy extends Copy {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]