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. + Unlikejava.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 thebuild
subdirectory +