ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umag...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks move.html copy.html
Date Mon, 20 May 2002 12:34:47 GMT
umagesh     02/05/20 05:34:47

  Modified:    docs/manual/CoreTasks Tag: ANT_15_BRANCH move.html copy.html
  Log:
  Include cross-reference of fliterchain in <copy> and <move>
  
  Reported by: Dominique Devienne <DDevienne@lgc.com>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.6.2.2   +6 -3      jakarta-ant/docs/manual/CoreTasks/move.html
  
  Index: move.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/move.html,v
  retrieving revision 1.6.2.1
  retrieving revision 1.6.2.2
  diff -u -r1.6.2.1 -r1.6.2.2
  --- move.html	3 May 2002 09:40:28 -0000	1.6.2.1
  +++ move.html	20 May 2002 12:34:47 -0000	1.6.2.2
  @@ -26,13 +26,13 @@
     <tr>
       <td valign="top">file</td>
       <td valign="top">the file to move</td>
  -    <td valign="top" align="center">One of <var>file</var> or 
  +    <td valign="top" align="center">One of <var>file</var> or
        at least one nested fileset element</td>
     </tr>
     <tr>
       <td valign="top">tofile</td>
       <td valign="top">the file to move to</td>
  -    <td valign="top" align="center" rowspan="2">With the <var>file</var>
attribute, 
  +    <td valign="top" align="center" rowspan="2">With the <var>file</var>
attribute,
       either <var>tofile</var> or <var>todir</var> can be used. 
With nested filesets,
       if the fileset size is greater than 1 or if the only entry in the fileset is a
       directory or if the <var>file</var> attribute is already specified, only
  @@ -59,7 +59,7 @@
       <td valign="top">flatten</td>
       <td valign="top">ignore directory structure of source directory,
         copy all files into a single directory, specified by the <var>todir</var>
  -      attribute (default is &quot;false&quot;).Note that you can achieve the 
  +      attribute (default is &quot;false&quot;).Note that you can achieve the
         same effect by using a <a href="../CoreTypes/mapper.html#flatten-mapper">flatten
mapper</a></td>
       <td valign="top" align="center">No</td>
     </tr>
  @@ -76,6 +76,9 @@
   href="../CoreTypes/mapper.html">mapper</a> element. The default mapper used by
   <code>&lt;copy&gt;</code> is the <a
   href="../CoreTypes/mapper.html#identity-mapper">identity</a>.</p>
  +<h4>filterchain</h4>
  +<p>The Move task supports nested <a href="../CoreTypes/filterchain.html">
  +FilterChain</a>s.</p>
   <h3>Examples</h3>
   <p><b>Move a single file (rename a file)</b></p>
   <pre>
  
  
  
  1.10.2.3  +14 -11    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.10.2.2
  retrieving revision 1.10.2.3
  diff -u -r1.10.2.2 -r1.10.2.3
  --- copy.html	13 May 2002 16:00:23 -0000	1.10.2.2
  +++ copy.html	20 May 2002 12:34:47 -0000	1.10.2.3
  @@ -11,10 +11,10 @@
   <h3>Description</h3>
   <p>Copies a file or FileSet to a new file or directory.  By default, files are
   only copied if the source file is newer than the destination file,
  -or when the destination file does not exist.  However, you can explicitly 
  +or when the destination file does not exist.  However, you can explicitly
   overwrite files with the <code>overwrite</code> attribute.</p>
   <p><a href="../CoreTypes/fileset.html">FileSet</a>s are used to select
a
  -set of files to copy.  
  +set of files to copy.
   To use a <code>&lt;fileset&gt;</code>, the <code>todir</code>
attribute
   must be set.</p>
   <h3>Parameters</h3>
  @@ -27,7 +27,7 @@
     <tr>
       <td valign="top">file</td>
       <td valign="top">The file to copy.</td>
  -    <td valign="top" align="center">Yes, unless a nested 
  +    <td valign="top" align="center">Yes, unless a nested
       <code>&lt;fileset&gt;</code> element is used.</td>
     </tr>
     <tr>
  @@ -96,24 +96,27 @@
     </tr>
   </table>
   <h3>Parameters specified as nested elements</h3>
  - 
  +
   <h4>fileset</h4>
    <p><a href="../CoreTypes/fileset.html">FileSet</a>s are used to select
  -sets of files to copy.  
  +sets of files to copy.
    To use a fileset, the <code>todir</code> attribute must be set.</p>
  - 
  +
   <h4>mapper</h4>
    <p>You can define filename transformations by using a nested <a
    href="../CoreTypes/mapper.html">mapper</a> element. The default mapper used by
    <code>&lt;copy&gt;</code> is the <a
    href="../CoreTypes/mapper.html#identity-mapper">identity mapper</a>.</p>
  - 
  +
   <h4>filterset</h4>
    <p><a href="../CoreTypes/filterset.html">FilterSet</a>s are used to
replace
  -tokens in files that are copied.  
  +tokens in files that are copied.
    To use a FilterSet, use the nested <code>&lt;filterset&gt;</code>
element.</p>
  - 
  -  
  +
  +<h4>filterchain</h4>
  +<p>The Copy task supports nested <a href="../CoreTypes/filterchain.html">
  +FilterChain</a>s.</p>
  +
   <h3>Examples</h3>
   <p><b>Copy a single file</b></p>
   <pre>
  @@ -167,7 +170,7 @@
   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 <code>&lt;exec executable="cp" ... &gt;</code> instead. 
  +use <code>&lt;exec executable="cp" ... &gt;</code> instead.
   </p>
   
   <p><strong>Windows Note:</strong> If you copy a file to a directory
  
  
  

--
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