ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: [PATCH] Copy.java - some additional checks
Date Thu, 05 Oct 2000 14:50:36 GMT
>>>>> "GM" == Glenn McAllister <glennm@ca.ibm.com> writes:

 GM> So this

 GM> <copy dir="${src.bin.dir}" todir="${bin.dir}"/>

 GM> becomes

 GM> <copy todir="${bin.dir}"> 
 GM>   <fileset dir="${src.bin.dir}"/> 
 GM> </copy>

 GM> to make sure you don't get the CVS directories.

I wouldn't think they'd produce different results, this is
counterintuitive. I think the best solution would be to drop the dir
attribute of copy - so everybody wanting to copy a whole directory
tree would be forced to use filesets.

Stefan

Mime
View raw message