ehatcher 02/02/09 14:34:38
Modified: . WHATSNEW
docs/manual/CoreTasks tstamp.html
Log:
Documenting a feature that had been previously added (oops!).
Revision Changes Path
1.207 +3 -1 jakarta-ant/WHATSNEW
Index: WHATSNEW
===================================================================
RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
retrieving revision 1.206
retrieving revision 1.207
diff -u -r1.206 -r1.207
--- WHATSNEW 5 Feb 2002 20:55:56 -0000 1.206
+++ WHATSNEW 9 Feb 2002 22:34:38 -0000 1.207
@@ -137,7 +137,7 @@
<antcall> using nested <reference> elements or the new inheritRefs
attribute.
-* <fail> no supports builds to fail based on conditions via if and
+* <fail> now supports builds to fail based on conditions via if and
unless attributes.
* Ant now comes with two new BuildLogger implementations - one that
@@ -158,6 +158,8 @@
* You can now set an ANT_ARGS environment variable to hold arguments you
always want passed to the 'ant' command -- for example, if you always
want to use a different logger or the -find flag.
+
+* <tstamp> now supports a new "prefix" attribute to prefix properties
set.WHATSNEW
Changes from Ant 1.4 to Ant 1.4.1
===========================================
1.13 +14 -3 jakarta-ant/docs/manual/CoreTasks/tstamp.html
Index: tstamp.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/tstamp.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tstamp.html 3 Feb 2002 22:00:42 -0000 1.12
+++ tstamp.html 9 Feb 2002 22:34:38 -0000 1.13
@@ -28,7 +28,10 @@
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
</tr>
- <tr> <td colspan="3"> No parameters</td>
+ <tr>
+ <td valign="top">prefix</td>
+ <td valign="top">Prefix used for all properties set. The default is no
prefix.</td>
+ <td align="center" valign="top">No</td>
</tr>
</table>
@@ -123,10 +126,18 @@
</pre>
<p>
Creates a timestamp, in the property touch.time, 5 hours before the current
time. The format in this example
-is suitable for use with the <touch> task</p>
+is suitable for use with the <touch> task. The standard properties are
set also.</p>
+
+<pre>
+ <tstamp prefix="start"/>
+</pre>
+<p>
+Sets three properties with the standard formats, prefixed with "start.":
+<code>start.DSTAMP</code>, <code>start.TSTAMP</code>, and
<code>start.TODAY</code>.</p>
+
<hr>
-<p align="center">Copyright © 2001 Apache Software Foundation. All
rights Reserved.</p>
+<p align="center">Copyright © 2002 Apache Software Foundation. All
rights Reserved.</p>
</body>
</html>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>