-
- <html>
- <head>
- <meta http-equiv="Content-Language" content="en-us">
- <title>Tempfile
- Task</title>
- </head>
-
- <body bgcolor="#ffffff" text="#000000" link="#525D76"
- alink="#525D76" vlink="#525D76">
-
- <table border="0" width="100%" cellspacing="4">
-
-
- <tr>
- <td>
- <table border="0" width="100%"><tr>
- <td valign="bottom">
- <font size="+3" face="arial,helvetica,sanserif"><strong>Tempfile
- Task</strong></font>
- <br><font face="arial,helvetica,sanserif">This task sets a property to the name of a temporary file.</font>
- </td>
- <td>
-
- <a href="http://ant.apache.org/">
- <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
- </a>
- </td>
- </tr></table>
- </td>
- </tr>
-
-
- <tr>
- <td valign="top" align="left">
-
-
-
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
- <tr><td> </td></tr>
-
- <tr><td bgcolor="#525D76">
- <font color="#ffffff" face="arial,helvetica.sanserif">
- <a name="description">
- <strong>Description</strong></a></font>
- </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
- </blockquote></td></tr>
-
- </table>
-
-
-
-
-
-
-
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
- <tr><td> </td></tr>
- <tr><td bgcolor="#525D76">
- <font color="#ffffff" face="arial,helvetica.sanserif">
- <a name="attributes">
- <strong>Parameters</strong></a></font>
- </td></tr>
- <tr><td><blockquote>
- <table>
- <tr>
- <td bgcolor="#cccccc" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
- </td>
- <td bgcolor="#cccccc" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
- </td>
- <td bgcolor="#cccccc" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
- </td>
- <td bgcolor="#cccccc" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
- </td>
- </tr>
-
-
- <tr>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">property</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sets the property you wish to assign the temporary file to.</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left" rowspan="1">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">Required</font>
- </td>
- </tr>
-
-
-
- <tr>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">destdir</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sets the destination directory. If not set, the basedir directory is used instead.</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left" rowspan="3">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
- </td>
- </tr>
-
- <tr>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">prefix</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sets the optional prefix string for the temp file.</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
- </td>
- </tr>
-
- <tr>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">suffix</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sets the optional suffix string for the temp file.</font>
- </td>
- <td bgcolor="#eeeeee" valign="top" align="left">
- <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
- </td>
- </tr>
-
-
- </table>
- </blockquote></td></tr>
-
- </table>
-
-
-
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
- <tr><td> </td></tr>
-
- <tr><td bgcolor="#525D76">
- <font color="#ffffff" face="arial,helvetica.sanserif">
- <a name="elements">
- <strong>Parameters as nested elements</strong></a></font>
- </td></tr>
-
- <tr><td><blockquote>
-
- </blockquote></td></tr>
-
- </table>
-
-
-
- </td>
- </tr>
-
-
-
- <tr>
- <td>
- <hr noshade="" size="1"/>
- </td>
- </tr>
-
-
- <tr>
- <td>
- <div align="center"><font color="#525D76" size="-1"><em>
- Copyright © 2000-2003, Apache Software Foundation
- </em></font></div>
- </td>
- </tr>
-
- </table>
-
- </body>
- </html>
|