jglick      2004/11/30 13:57:17

  Modified:    docs/manual/CoreTasks tempfile.html
  Log:
  1. Removing mention of JDK 1.1 which is no longer supported anyway.
  2. More readable HTML source formatting - reduce merge conflicts, e.g.
  
  Revision  Changes    Path
  1.6       +20 -1     ant/docs/manual/CoreTasks/tempfile.html
  
  Index: tempfile.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/tempfile.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- tempfile.html     19 Nov 2004 09:07:09 -0000      1.5
  +++ tempfile.html     30 Nov 2004 21:57:17 -0000      1.6
  @@ -46,7 +46,26 @@
         </td></tr>
   
         <tr><td><blockquote>
  -        This task sets a property to the name of a temporary file. Unlike 
the Java1.2 method to create a temporary file, this task does work on Java1.1. 
Also, it does not actually create the temporary file, but it does guarantee 
that the file did not exist when the task was executed. <p> Examples 
<pre>&lt;tempfile property="temp.file"/&gt;</pre> create a temporary file 
<pre>&lt;tempfile property="temp.file" suffix=".xml"/&gt;</pre> create a 
temporary file with the .xml suffix. <pre>&lt;tempfile property="temp.file" 
destDir="build"/&gt;</pre> create a temp file in the build subdir
  +
  +          This task sets a property to the name of a temporary file.
  +          Unlike <code>java.io.File.createTempFile</code>,
  +          this task does not actually create the temporary file, but it does 
guarantee that the
  +          file did not exist when the task was executed.
  +
  +          <p>Examples:
  +
  +          <pre>&lt;tempfile property="temp.file"/&gt;</pre>
  +
  +          create a temporary file
  +
  +          <pre>&lt;tempfile property="temp.file" suffix=".xml"/&gt;</pre>
  +
  +          create a temporary file with the <code>.xml</code> suffix
  +
  +          <pre>&lt;tempfile property="temp.file" destDir="build"/&gt;</pre>
  +
  +          create a temporary file in the <code>build</code> subdirectory
  +
         </blockquote></td></tr>
   
       </table>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to