You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/01/16 23:57:52 UTC
DO NOT REPLY [Bug 48558] New: PropertyFile task prepends an
addtional timestamp line every time
https://issues.apache.org/bugzilla/show_bug.cgi?id=48558
Summary: PropertyFile task prepends an addtional timestamp line
every time
Product: Ant
Version: 1.8.0RC1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: dmerrill@usa.net
Every time the PropertyFile task runs, a new timestamp line gets added to the
top of the file. This is a new behavior. 1.7.1 updates the existing line if
there is one, rather than adding a new one. Over time the new behavior causes
the file to grow continually, impractical in my view.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 48558] PropertyFile task prepends an addtional
timestamp line every time
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48558
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |1.8.0
--- Comment #4 from Stefan Bodewig <bo...@apache.org> 2010-01-21 21:42:59 UTC ---
fixed with svn revision 902004
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 48558] PropertyFile task prepends an addtional
timestamp line every time
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48558
--- Comment #2 from Dave Merrill <dm...@usa.net> 2010-01-19 03:55:17 UTC ---
(In reply to comment #1)
Thanks for your reply.
Are you saying that the new behavior is intended, and won't be changed, or just
suggesting that as a temporary workaround until a fix is in place? I'd suggest
that if someone wanted the new behavior, they should request it via a new
property, instead of having to explicitly invoke the old one. IMO, the old
behavior is more likely useful, and in the interest of not altering people's
build processes, it should be the default.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 48558] PropertyFile task prepends an addtional
timestamp line every time
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48558
--- Comment #3 from Stefan Bodewig <bo...@apache.org> 2010-01-19 09:12:46 UTC ---
My suggestion isn't more than a workaround. I agree the current behavior is
broken - the task would add a new comment header each time it re-writes the
file as well.
The fix is not totally trivial, that's why I suggested the workaround in the
meantime.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 48558] PropertyFile task prepends an addtional
timestamp line every time
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48558
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2010-01-18 21:10:48 UTC ---
as a workaround you can set jdkproperties="true" on the task and should get the
old behavior of Ant 1.7.1.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.