From b720f6461e15eb8690280e73f552883a10bd32bd Mon Sep 17 00:00:00 2001
From: Erik Hatcher
Date: Sat, 9 Feb 2002 22:34:38 +0000
Subject: [PATCH] Documenting a feature that had been previously added (oops!).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271248 13f79535-47bb-0310-9956-ffa450edef68
---
WHATSNEW | 4 +++-
docs/manual/CoreTasks/tstamp.html | 17 ++++++++++++++---
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/WHATSNEW b/WHATSNEW
index f95d76b35..a239da407 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -137,7 +137,7 @@ Other changes:
using nested elements or the new inheritRefs
attribute.
-* no supports builds to fail based on conditions via if and
+* 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 @@ Other changes:
* 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.
+
+* now supports a new "prefix" attribute to prefix properties set.WHATSNEW
Changes from Ant 1.4 to Ant 1.4.1
===========================================
diff --git a/docs/manual/CoreTasks/tstamp.html b/docs/manual/CoreTasks/tstamp.html
index fc84999e1..29745423e 100644
--- a/docs/manual/CoreTasks/tstamp.html
+++ b/docs/manual/CoreTasks/tstamp.html
@@ -28,7 +28,10 @@ probably in an initialization target.
Description |
Required |
- No parameters |
+
+ prefix |
+ Prefix used for all properties set. The default is no prefix. |
+ No |
@@ -123,10 +126,18 @@ using English locale (eg. 21-May-2001).
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
+is suitable for use with the <touch> task. The standard properties are set also.
+
+
+ <tstamp prefix="start"/>
+
+
+Sets three properties with the standard formats, prefixed with "start.":
+start.DSTAMP
, start.TSTAMP
, and start.TODAY
.
+
-Copyright © 2001 Apache Software Foundation. All rights Reserved.
+Copyright © 2002 Apache Software Foundation. All rights Reserved.