You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Peter Reilly <pe...@apache.org> on 2004/12/01 10:17:41 UTC
Re: cvs commit: ant/docs/manual/CoreTasks tempfile.html
The tempfile doc is generated via the xdoclet stuff (which frys the
formatting).
Peter
jglick@apache.org wrote:
>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><tempfile property="temp.file"/></pre> create a temporary file <pre><tempfile property="temp.file" suffix=".xml"/></pre> create a temporary file with the .xml suffix. <pre><tempfile property="temp.file" destDir="build"/></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><tempfile property="temp.file"/></pre>
> +
> + create a temporary file
> +
> + <pre><tempfile property="temp.file" suffix=".xml"/></pre>
> +
> + create a temporary file with the <code>.xml</code> suffix
> +
> + <pre><tempfile property="temp.file" destDir="build"/></pre>
> +
> + create a temporary file in the <code>build</code> subdirectory
> +
> </blockquote></td></tr>
>
> </table>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: cvs commit: ant/docs/manual/CoreTasks tempfile.html
Posted by Jesse Glick <je...@sun.com>.
jglick@apache.org wrote:
>> 1. Removing mention of JDK 1.1 which is no longer supported anyway.
>> 2. More readable HTML source formatting - reduce merge conflicts,
>> e.g.
Peter Reilly wrote:
> The tempfile doc is generated via the xdoclet stuff (which frys the
> formatting).
Oh well, at least #1 is fixed in .java source too.
-J.
--
Jesse Glick <ma...@sun.com> x22801
NetBeans, Open APIs <http://www.netbeans.org/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org