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 2008/05/21 15:20:39 UTC
DO NOT REPLY [Bug 45057] New: Support EOL conversion in tar/zip tasks
https://issues.apache.org/bugzilla/show_bug.cgi?id=45057
Summary: Support EOL conversion in tar/zip tasks
Product: Ant
Version: 1.7.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core
AssignedTo: notifications@ant.apache.org
ReportedBy: sebb@apache.org
It would be useful if tar/zip archives supported conversion of EOL in files.
Tar files are normally targetted at OSes that use EOL=LF, and Zip file users
normally expect EOL=CRLF.
It would be useful if the tar/zip tasks could convert these on the fly.
Perhaps this could be done by enhancing the Resource file type - it could
return an FilterInputStream that did the conversion if the appropriate
attribute was set for the resource.
--
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 45057] Support EOL conversion in tar/zip tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45057
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #5 from Stefan Bodewig <bo...@apache.org> 2010-10-26 06:28:56 EDT ---
this is part 1. of bug 44816
*** This bug has been marked as a duplicate of bug 44816 ***
--
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 45057] Support EOL conversion in tar/zip tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45057
--- Comment #1 from Matt Benson <gu...@yahoo.com> 2008-05-22 13:53:20 PST ---
Interesting idea, Seb. A FilteringResourceCollection would probably do the
trick here, and--theoretically--wouldn't even be that hard to write.
--
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 45057] Support EOL conversion in tar/zip tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45057
--- Comment #4 from Matt Benson <gu...@yahoo.com> 2008-06-17 09:29:54 PST ---
As a first step here I have extracted ContentTransformingResource from
CompressedResource, svn rev 668730.
--
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 45057] Support EOL conversion in tar/zip tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45057
--- Comment #3 from Matt Benson <gu...@yahoo.com> 2008-05-23 15:25:04 PST ---
I would contend that The Ant Way is to provide the user the tools he needs to
configure the behavior he wants. ;)
--
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 45057] Support EOL conversion in tar/zip tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45057
--- Comment #2 from Sebb <se...@apache.org> 2008-05-23 12:02:29 PST ---
The files that generally need to be converted are the ones that are have the
SVN property:
svn:eol-style native
It would be great if this could be handled automatically - e.g. by reading the
SVN meta data file. It would be safer - but probably a lot slower- to use SVN
itself.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.