I agree with Stefan - I just got caught out by this and am busy changing my
build.xml and deleting CVS directories...  ;-)

Cheers,
:E




From: Stefan Bodewig <[EMAIL PROTECTED]>  on 05/10/2000 14:50 GMT

Please respond to [EMAIL PROTECTED]
                                                                                
                                                                                
                                                                                


|--------->
|         |
|--------->
  >--------------------------------------------------------------------------->
  |                                                                           |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  >-------------------------------------------|
|--------->
|To:      |
|--------->
  >--------------------------------------------------------------------------->
  |[EMAIL PROTECTED]                                                 |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  |                                           |
  >-------------------------------------------|
|--------->
|cc:      |
|--------->
  >--------------------------------------------------------------------------->
  | (bcc: Eric Mountain/NCE/AMADEUS)                                          |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  |                                           |
  >-------------------------------------------|
|--------->
|         |
|--------->
  >--------------------------------------------------------------------------->
  |                                                                           |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  >-------------------------------------------|
|--------->
|Subject: |
|--------->
  >--------------------------------------------------------------------------->
  |Re: [PATCH] Copy.java - some additional checks                             |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  >-------------------------------------------|







>>>>> "GM" == Glenn McAllister <[EMAIL PROTECTED]> 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



Reply via email to