Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 22546 invoked from network); 1 Dec 2004 09:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Dec 2004 09:17:18 -0000 Received: (qmail 89025 invoked by uid 500); 1 Dec 2004 09:17:15 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 88964 invoked by uid 500); 1 Dec 2004 09:17:15 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 88941 invoked by uid 99); 1 Dec 2004 09:17:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from gate.corvil.net (HELO corvil.com) (213.94.219.177) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 01:17:14 -0800 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id iB19H8wS040017 for ; Wed, 1 Dec 2004 09:17:09 GMT (envelope-from peterreilly@apache.org) Message-ID: <41AD8C35.3090506@apache.org> Date: Wed, 01 Dec 2004 09:17:41 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: cvs commit: ant/docs/manual/CoreTasks tempfile.html References: <20041130215717.86151.qmail@minotaur.apache.org> In-Reply-To: <20041130215717.86151.qmail@minotaur.apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The tempfile doc is generated via the xdoclet stuff (which frys the formatting). Peter jglick@apache.org wrote: >jglick 2004/11/30 13:57:17 > > Modified: docs/manual/CoreTasks tempfile.html > Log: > 1. Removing mention of JDK 1.1 which is no longer supported anyway. > 2. More readable HTML source formatting - reduce merge conflicts, e.g. > > Revision Changes Path > 1.6 +20 -1 ant/docs/manual/CoreTasks/tempfile.html > > Index: tempfile.html > =================================================================== > RCS file: /home/cvs/ant/docs/manual/CoreTasks/tempfile.html,v > retrieving revision 1.5 > retrieving revision 1.6 > diff -u -r1.5 -r1.6 > --- tempfile.html 19 Nov 2004 09:07:09 -0000 1.5 > +++ tempfile.html 30 Nov 2004 21:57:17 -0000 1.6 > @@ -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 > + >
> > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org