From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../apache-ant-1.9.6/manual/Tasks/tempfile.html | 229 +++++++++++++++++++++ 1 file changed, 229 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/tempfile.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/tempfile.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/tempfile.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/tempfile.html new file mode 100644 index 00000000..1be00d07 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/tempfile.html @@ -0,0 +1,229 @@ + + + + + + Tempfile Task + + + + + + + + + + + + + + + + + +
+ + + +
+ Tempfile Task +
This task sets a property to the name of a temporary file. +
+ + + Apache Ant + +
+
+ + + + + + + + + + +
 
+ + + Description +
+ + 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 + +
+ + + + + + + + + + + + +
 
+ + + Parameters +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attribute + + Description + + Type + + Requirement +
+ property + + Sets the property you wish to assign the temporary file to. + + String + + Required +
+ destdir + + Sets the destination directory. If not set, the basedir directory is used instead. + + File + + Optional +
+ prefix + + Sets the optional prefix string for the temp file. + + String +
+ suffix + + Sets the optional suffix string for the temp file. + + String +
+ deleteonexit + + Whether the temp file will be marked for deletion on normal exit of the Java Virtual Machine (even though the file may never be created); default false. Since Apache Ant 1.7 + + boolean +
+ createfile + + Whether the temp file should be created by this task; default false.Since Ant 1.8 + + boolean +
+
+ + + + + + + + + + +
 
+ + + Parameters as nested elements +
+ +
+ + + +
+ + + -- cgit 1.2.3-korg