This task sets a property to the name of a temporary file. Unlike PhingFile::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.
Table B.64: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
property
|
String
| Sets the property you wish to assign the temporary file to. | n/a | yes |
destdir
|
String
| Sets the destination directory. If not set, the basedir directory is used instead. | basedir | no |
prefix
|
String
| Sets the optional prefix string for the temp file. | n/a | no |
suffix
|
String
| Sets the optional suffix string for the temp file. | n/a | no |
deleteonexit
|
Boolean
| Whether the temp file will be marked for deletion on normal exit (even though the file may never be created). | false | no |
createfile
|
Boolean
| Whether the temp file should be created by this task. | false | no |