diff --git a/docs/manual/CoreTasks/copy.html b/docs/manual/CoreTasks/copy.html index 20fb2715e..56292a294 100644 --- a/docs/manual/CoreTasks/copy.html +++ b/docs/manual/CoreTasks/copy.html @@ -2,7 +2,7 @@ -Apache Ant User Manual +Copy Task @@ -70,9 +70,9 @@ To use a fileset, the todir attribute must be set.

includeEmptyDirs - Copy empty directories included with the nested FileSet(s). - Defaults to "yes". - No + Copy empty directories included with the nested FileSet(s). + Defaults to "yes". + No

Parameters specified as nested elements

@@ -110,20 +110,20 @@ To use a fileset, the todir attribute must be set.

Copy a set of files to a directory

   <copy todir="../dest/dir" >
-    <fileset dir="src_dir" >
+    <fileset dir="src_dir" >
       <exclude name="**/*.java"/>
     </fileset>
   </copy>
 
   <copy todir="../dest/dir" >
-    <fileset dir="src_dir" excludes="**/*.java"/>
+    <fileset dir="src_dir" excludes="**/*.java"/>
   </copy>
 

Copy a set of files to a directory appending ".bak" to the file name on the fly

   <copy todir="../backup/dir" >
-    <fileset dir="src_dir" />
+    <fileset dir="src_dir" />
     <mapper type="glob" from="*" to="*.bak"/>
   </copy>
 
@@ -139,6 +139,11 @@ To use a fileset, the todir attribute must be set.

</copy> +

Unix Note: 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 <exec executable="cp" ... > instead.


Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.