You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Weinmann, Alexander" <Al...@mummert.polizei.niedersachsen.de> on 2001/10/23 18:28:22 UTC

Problem with the Copy-Task when used for non text files

Hello ANT-Users,
Under windows 2000 I experienced several times that the 
copy task did not work as expected. License files and other
"proprietary" formats seemed to have changed [when read
from other applications] after being copied. 
Doing the Copy manually on the operating system level solved the problem
and made me think their might be a problem with the Copy-Task ..

Any hints from the experts?

P.S.: "Filtering" is off!


----------------------------------------------------------------------------
----
Alexander Weinmann
Transaction Management Consulting
Mummert + Partner Unternehmensberatung AG
Mobil:    +49(0)178/6612113
email:    alexander.weinmann@mikadoneu.polizei.niedersachsen.de
----------------------------------------------------------------------------
-----


Re: Problem with the Copy-Task when used for non text files

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Weinmann, Alexander wrote:

> Hello ANT-Users,
> Under windows 2000 I experienced several times that the
> copy task did not work as expected. License files and other
> "proprietary" formats seemed to have changed [when read
> from other applications] after being copied.
> Doing the Copy manually on the operating system level solved the problem
> and made me think their might be a problem with the Copy-Task ..
> 
> Any hints from the experts?
> 
> P.S.: "Filtering" is off!

That is what the last guy said - just kidding:-) The next time you 
encounter this, would you be able to investigate the nature of the 
differences, perhaps even resorting to a binary level diff.? Also if you 
could give us the <copy> snippet. Finally there may be other 
"line-oriented" processes being run over the files. This could be other 
Ant tasks such as <fixcrlf> being applied  to more files that it should 
or something like that.

Any info would help to track down any issues.

Thanks
Conor