ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29573] New: - Copy with filterset changes file type from UNIX to PC
Date Tue, 15 Jun 2004 13:53:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29573

Copy with filterset changes file type from UNIX to PC

           Summary: Copy with filterset changes file type from UNIX to PC
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: daniel@hisbest.dk


Running Win2k and ant 1.5.1
When using the copy task with a filterset (see sample below) on a unix formated 
file, the target file will be changed to PC formatted.

Sample:

<copy file="test.xml" todir="/etc" >
  <filterset begintoken="REPLACEWITH-" endtoken="-HERE" >
    <filter token="WAR_PATH" value="/www/apps/test.war" />
  </filterset>
</copy>

My guess is that it is never checked what filetype the file is, but only the 
localfile type is used when processing the file.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message