ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Copy.java
Date Tue, 04 Jan 2005 19:39:01 GMT
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 @@
       <td valign="top">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.  <em>since Ant
       1.6.2</em>.</td>
  
  
  
  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.
        *
  -     * <p>Default is 0 milliseconds, or 2 seconds on DOS systems.</p>
  -     *
  +     * <p>Default is 1 second, or 2 seconds on DOS systems.</p>
  +     * @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


Mime
View raw message