Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 61910 invoked from network); 15 Jun 2002 16:27:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Jun 2002 16:27:55 -0000 Received: (qmail 15386 invoked by uid 97); 15 Jun 2002 16:27:58 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 15349 invoked by uid 97); 15 Jun 2002 16:27:57 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 15335 invoked by uid 50); 15 Jun 2002 16:27:56 -0000 Date: 15 Jun 2002 16:27:56 -0000 Message-ID: <20020615162756.15334.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 9890] - tstamp task does not work like in ANT version 1.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9890 tstamp task does not work like in ANT version 1.4 ------- Additional Comments From apache@graemlin.net 2002-06-15 16:27 ------- This happened between revisions 1.14 and 1.15 due to the following change: From: project.setProperty(propertyName, sdf.format(date)); To: project.setNewProperty(propertyName, sdf.format(date)); setNewProperty doesn't overwrite existing properties. And property DSTAMP is first set in Tstamp.execute() Relevant log entry from 1.15: This patch forces property setting to follow the same rules as the rest of ant in most tasks. The few tasks where we have not forced immutability will instead get 3 line ugly warnings telling them that they should upgrade or not use the same property name etc. -- To unsubscribe, e-mail: For additional commands, e-mail: