ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuji Yamano <yyam...@kt.rim.or.jp>
Subject ant manual bug
Date Wed, 29 Jan 2003 13:20:22 GMT
http://ant.apache.org/manual/CoreTasks/copy.html says:

> Windows Note: If you copy a file to a directory where that file
> already exists, but with different casing, the copied file takes on
> the case of the original. The workaround is to delete the file in
> the destination directory before you copy it.

But I think the note is incorrect because Copy task deletes the
existing file before copy it. Please see Copy.doFileOperations() and
FileUtil.copyFile().  I guess it's old behavior, maybe in ant 1.3 days
(I just glanced the source via cvsweb, didn't run old ant).

I'm not on the list, so please cc'ed to me if you reply this.

-- 
Yuji Yamano <yyamano@kt.rim.or.jp>
    Exterminate the sage, discard the wise, 
    and the people will benefit a hundredfold. --Lao Tzu

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


Mime
View raw message