ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emount...@amadeus.net
Subject Re: [PATCH] Copy.java - some additional checks
Date Thu, 05 Oct 2000 16:33:28 GMT
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 <bodewig@bost.de>  on 05/10/2000 14:50 GMT

Please respond to ant-dev@jakarta.apache.org
                                                                                
                                                                                
                                                                                


|--------->
|         |
|--------->
  >--------------------------------------------------------------------------->
  |                                                                           |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  >-------------------------------------------|
|--------->
|To:      |
|--------->
  >--------------------------------------------------------------------------->
  |ant-dev@jakarta.apache.org                                                 |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  |                                           |
  >-------------------------------------------|
|--------->
|cc:      |
|--------->
  >--------------------------------------------------------------------------->
  | (bcc: Eric Mountain/NCE/AMADEUS)                                          |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  |                                           |
  >-------------------------------------------|
|--------->
|         |
|--------->
  >--------------------------------------------------------------------------->
  |                                                                           |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  >-------------------------------------------|
|--------->
|Subject: |
|--------->
  >--------------------------------------------------------------------------->
  |Re: [PATCH] Copy.java - some additional checks                             |
  >--------------------------------------------------------------------------->
  >-------------------------------------------|
  |                                           |
  >-------------------------------------------|







>>>>> "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