Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 21028 invoked by uid 500); 19 Aug 2003 10:02:54 -0000 Mailing-List: contact dev-help@ant.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 dev@ant.apache.org Received: (qmail 20980 invoked from network); 19 Aug 2003 10:02:51 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 19 Aug 2003 10:02:51 -0000 Received: (qmail 806 invoked by uid 50); 19 Aug 2003 10:05:46 -0000 Date: 19 Aug 2003 10:05:46 -0000 Message-ID: <20030819100546.805.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 22542] New: - ReplaceRegExp task updates modified time of directory 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=22542 ReplaceRegExp task updates modified time of directory Summary: ReplaceRegExp task updates modified time of directory Product: Ant Version: 1.5.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: leonchadwick@traderisks.com I have the following entry in a task: Even when this is not run because there is no replacement required, the directory of the file being operated upon (${distdir}/bin in this example) has its modified timestamp updated to the time this action is executed which causes some of my other tasks to go into action. This is an unwanted and undocumented side effect (therefore probably a bug) especially considering how replaceregexp states that it doesn't unnecessarily update the files timestamp when no changes are required. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org