From 5741675eeca40f7cafdffafd61578de0837ac65d Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Tue, 30 Nov 2004 21:57:17 +0000 Subject: [PATCH] 1. Removing mention of JDK 1.1 which is no longer supported anyway. 2. More readable HTML source formatting - reduce merge conflicts, e.g. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277084 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/tempfile.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/manual/CoreTasks/tempfile.html b/docs/manual/CoreTasks/tempfile.html index 9669e6e56..99e446e12 100644 --- a/docs/manual/CoreTasks/tempfile.html +++ b/docs/manual/CoreTasks/tempfile.html @@ -46,7 +46,26 @@
- 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.

Examples

<tempfile property="temp.file"/>
create a temporary file
<tempfile property="temp.file" suffix=".xml"/>
create a temporary file with the .xml suffix.
<tempfile property="temp.file" destDir="build"/>
create a temp file in the build subdir + + This task sets a property to the name of a temporary file. + Unlike java.io.File.createTempFile, + this task does not actually create the temporary file, but it does guarantee that the + file did not exist when the task was executed. + +

Examples: + +

<tempfile property="temp.file"/>
+ + create a temporary file + +
<tempfile property="temp.file" suffix=".xml"/>
+ + create a temporary file with the .xml suffix + +
<tempfile property="temp.file" destDir="build"/>
+ + create a temporary file in the build subdirectory +