Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 23059 invoked from network); 4 Jan 2005 19:39:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jan 2005 19:39:12 -0000 Received: (qmail 93570 invoked by uid 500); 4 Jan 2005 19:39:04 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 93530 invoked by uid 500); 4 Jan 2005 19:39:03 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 93514 invoked by uid 500); 4 Jan 2005 19:39:03 -0000 Received: (qmail 93507 invoked by uid 99); 4 Jan 2005 19:39:03 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 04 Jan 2005 11:39:02 -0800 Received: (qmail 23009 invoked by uid 1985); 4 Jan 2005 19:39:01 -0000 Date: 4 Jan 2005 19:39:01 -0000 Message-ID: <20050104193901.23008.qmail@minotaur.apache.org> From: jkf@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Copy.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jkf 2005/01/04 11:39:01 Modified: docs/manual/CoreTasks copy.html src/main/org/apache/tools/ant/taskdefs Copy.java Log: Looking in the sources, 1 second is used (the "unix" granularity) instead of the claimed 0 milliseconds. Revision Changes Path 1.30 +1 -1 ant/docs/manual/CoreTasks/copy.html Index: copy.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/copy.html,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- copy.html 10 Dec 2004 13:17:51 -0000 1.29 +++ copy.html 4 Jan 2005 19:39:01 -0000 1.30 @@ -133,7 +133,7 @@ The number of milliseconds leeway to give before deciding a file is out of date. This is needed because not every file system supports tracking the last modified time to the - millisecond level. Default is 0 milliseconds, or 2 seconds on DOS + millisecond level. Default is 1 second, or 2 seconds on DOS systems. This can also be useful if source and target files live on separate machines with clocks being out of sync. since Ant 1.6.2. 1.78 +4 -3 ant/src/main/org/apache/tools/ant/taskdefs/Copy.java Index: Copy.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- Copy.java 11 Dec 2004 22:43:05 -0000 1.77 +++ Copy.java 4 Jan 2005 19:39:01 -0000 1.78 @@ -343,8 +343,9 @@ * The number of milliseconds leeway to give before deciding a * target is out of date. * - *

Default is 0 milliseconds, or 2 seconds on DOS systems.

- * + *

Default is 1 second, or 2 seconds on DOS systems.

+ * @param granularity the granularity used to decide if a target is out of + * date. * @since Ant 1.6.2 */ public void setGranularity(long granularity) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org