ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks copy.html
Date Tue, 04 Dec 2001 03:06:04 GMT
stevel      01/12/03 19:06:04

  Modified:    docs/manual/CoreTasks copy.html
  Log:
  PR: 5255
  Clarified that <copy> doesnt preserve file perms on unix.
  
  Revision  Changes    Path
  1.6       +12 -7     jakarta-ant/docs/manual/CoreTasks/copy.html
  
  Index: copy.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/copy.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- copy.html	2001/10/30 10:05:34	1.5
  +++ copy.html	2001/12/04 03:06:04	1.6
  @@ -2,7 +2,7 @@
   
   <head>
   <meta http-equiv="Content-Language" content="en-us">
  -<title>Apache Ant User Manual</title>
  +<title>Copy Task</title>
   </head>
   
   <body>
  @@ -70,9 +70,9 @@
     </tr>
     <tr>
       <td valign="top">includeEmptyDirs</td>
  -	 <td valign="top">Copy empty directories included with the nested FileSet(s).
  -	   Defaults to &quot;yes&quot;.</td>
  -	 <td valign="top" align="center">No</td>
  +     <td valign="top">Copy empty directories included with the nested FileSet(s).
  +       Defaults to &quot;yes&quot;.</td>
  +     <td valign="top" align="center">No</td>
     </tr>
   </table>
   <h3>Parameters specified as nested elements</h3>
  @@ -110,20 +110,20 @@
   <p><b>Copy a set of files to a directory</b></p>
   <pre>
     &lt;copy todir=&quot;../dest/dir&quot; &gt;
  -    &lt;fileset dir=&quot;src_dir&quot &gt;
  +    &lt;fileset dir=&quot;src_dir&quot; &gt;
         &lt;exclude name=&quot;**/*.java&quot;/&gt;
       &lt;/fileset&gt;
     &lt;/copy&gt;
   
     &lt;copy todir=&quot;../dest/dir&quot; &gt;
  -    &lt;fileset dir=&quot;src_dir&quot excludes=&quot;**/*.java&quot;/&gt;
  +    &lt;fileset dir=&quot;src_dir&quot; excludes=&quot;**/*.java&quot;/&gt;
     &lt;/copy&gt;
   </pre>
   <p><b>Copy a set of files to a directory appending
   &quot;<code>.bak</code>&quot; to the file name on the fly</b></p>
   <pre>
     &lt;copy todir=&quot;../backup/dir&quot; &gt;
  -    &lt;fileset dir=&quot;src_dir&quot /&gt;
  +    &lt;fileset dir=&quot;src_dir&quot; /&gt;
       &lt;mapper type=&quot;glob&quot; from=&quot;*&quot; to=&quot;*.bak&quot;/&gt;
     &lt;/copy&gt;
   </pre>
  @@ -139,6 +139,11 @@
     &lt;/copy&gt;
   </pre>
   
  +<p><strong>Unix Note:</strong> file permissions are not retained when
files
  +are copied; they end up with the default UMASK permissions instead. This
  +is caused by the lack of any means to query or set file permissions in the
  +current Java runtimes. If you need a permission preserving copy function,
  +use &lt;exec executable="cp" ... &gt; instead. 
   
   <hr><p align="center">Copyright &copy; 2000,2001 Apache Software Foundation.
All rights
   Reserved.</p>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message