diff --git a/WHATSNEW b/WHATSNEW index c74bc9d98..4afe691bb 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -45,6 +45,16 @@ Other changes: of the source files are no longer required to be at the end of the command. +* Ant now prints a warning when an attempt is made to use a property which has + not been set. Any build files which rely on non-set properties being passed + through untranslated will now break. + +* Added a failonerror to the javac task. If set to false, the build will continue + even if there are compilation errors. + +* Added nested format elements to the tstamp task allowing additional time formats + to be defined for arbitrary properties. + Fixed bugs: ----------- diff --git a/docs/index.html b/docs/index.html index 23a1ecce9..c56fa9c31 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3099,6 +3099,13 @@ inclusion/exclusion of files works, and how to write patterns.
tracking for compilers that support this (jikes and classic)+ +
Attribute | +Description | +Required | +
property | ++ The property which is to receive the date/time string in the given pattern + | +Yes | +
pattern | +The date/time pattern to be used. The values are defined by the Java + SimpleDateFormat class | +Yes | +
Set the standard DSTAMP, TSTAMP and TODAY properties according to the formats above
<tstamp/>+ +
As for the above example, set the standard properties and also set the property +"TODAY_UK" with the date/time pattern "d MMM yyyy" + +
<tstamp> + <format property="TODAY_UK" pattern="d MMMM yyyy"> + </tstamp> ++