|
TempfileDescriptionThis 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 with Java1.1. It does not actually create the temporary file, but it does guarantee that the file did not exist when the task was executed.
Parameters
Examples<tempfile property="temp.file"/>will set temp.file to the name of a new
temporary file.
will set temp.file to the name of a new
<tempfile property="temp.file" destdir="build"/>will set temp.file to the name of a new
temporary file located in the build sub-directory.
Copyright © 2002 Apache Software Foundation. All rights Reserved. |