Hi,
I don't know if anybody found the time stamp difficult to read, especially
the TSTAMP. Can we include some style like hh:mm:ss to TSTAMP? Or something
like UNIX default time display "weekday month day hh:mm:ss timezone year".
I really hate it to modify ant source codes for every ant new release. If
any of the ant committer is willing, can you add the following lines to
<ant>/src/main/org/apcache/tools/ant/taskdefs/Thstamp.java:
inside public void execute() throws BuildException {
try{
...
SimpleDateFormat unixDate = new SimpleDateFormat ("EEE MMM
dd HH:mm:ss zzz yyyy", Locale.US);
// I readly do not care which name to use, as long as we
have this property.
project.setProperty("UNIXDEFAULTDATE", unixDate.format(d));
} catch(Excpetion e) {
throw new BuildException(e);
}
}
I don't know where to send this email for this feature request, so I just
send it to ant user mailing list. I apologize if I annoyed anybody.
Cheers.
-Yao Zhu