Compare: (<)D:\dl\jakarta-ant-1.3\src\main\org\apache\tools\ant\taskdefs\Copy.java (12942 bytes)
   with: (>)D:\ant\src\org\apache\tools\ant\taskdefs\Copy.java (13354 bytes)

89a89
>     protected boolean substitute = false;
124,127c125,129
<      * Sets filtering.
<      */
<     public void setFiltering(boolean filtering) {
<         this.filtering = filtering;
---
>      * Sets environment property substitution on filtering.
>      */
> 
>     public void setSubstitutions(boolean subst){
>         this.substitute = subst;
131,134c133,136
<      * Overwrite any existing destination file(s).
<      */
<     public void setOverwrite(boolean overwrite) {
<         this.forceOverwrite = overwrite;
---
>      * Sets filtering.
>      */
>     public void setFiltering(boolean filtering) {
>         this.filtering = filtering;
138,145c140,143
<      * When copying directory trees, the files can be "flattened"
<      * into a single directory.  If there are multiple files with
<      * the same name in the source directory tree, only the first
<      * file will be copied into the "flattened" directory, unless
<      * the forceoverwrite attribute is true.
<      */
<     public void setFlatten(boolean flatten) {
<         this.flatten = flatten;
---
>      * Overwrite any existing destination file(s).
>      */
>     public void setOverwrite(boolean overwrite) {
>         this.forceOverwrite = overwrite;
149,156c147,154
<      * Used to force listing of all names of copied files.
<      */
<     public void setVerbose(boolean verbose) {
<         if (verbose) {
<             this.verbosity = Project.MSG_INFO;
<         } else {
<             this.verbosity = Project.MSG_VERBOSE;
<         } 
---
>      * When copying directory trees, the files can be "flattened"
>      * into a single directory.  If there are multiple files with
>      * the same name in the source directory tree, only the first
>      * file will be copied into the "flattened" directory, unless
>      * the forceoverwrite attribute is true.
>      */
>     public void setFlatten(boolean flatten) {
>         this.flatten = flatten;
160,163c158,165
<      * Used to copy empty directories.
<      */
<     public void setIncludeEmptyDirs(boolean includeEmpty) {
<         this.includeEmpty = includeEmpty;
---
>      * Used to force listing of all names of copied files.
>      */
>     public void setVerbose(boolean verbose) {
>         if (verbose) {
>             this.verbosity = Project.MSG_INFO;
>         } else {
>             this.verbosity = Project.MSG_VERBOSE;
>         } 
167,170c169,172
<      * Adds a set of files (nested fileset attribute).
<      */
<     public void addFileset(FileSet set) {
<         filesets.addElement(set);
---
>      * Used to copy empty directories.
>      */
>     public void setIncludeEmptyDirs(boolean includeEmpty) {
>         this.includeEmpty = includeEmpty;
174,182c176,179
<      * Defines the FileNameMapper to use (nested mapper element).
<      */
<     public Mapper createMapper() throws BuildException {
<         if (mapperElement != null) {
<             throw new BuildException("Cannot define more than one mapper",
<                                      location);
<         }
<         mapperElement = new Mapper(project);
<         return mapperElement;
---
>      * Adds a set of files (nested fileset attribute).
>      */
>     public void addFileset(FileSet set) {
>         filesets.addElement(set);
186a183,194
>      * Defines the FileNameMapper to use (nested mapper element).
>      */
>     public Mapper createMapper() throws BuildException {
>         if (mapperElement != null) {
>             throw new BuildException("Cannot define more than one mapper",
>                                      location);
>         }
>         mapperElement = new Mapper(project);
>         return mapperElement;
>     }
> 
>     /**
192a201,203
>         log("Filtering: " + filtering, project.MSG_DEBUG);
>         //log("Substitute Properties: " + substituteProperties, project.MSG_DEBUG);
> 
339c351,352
<                                      preserveLastModified);
---
>                                      preserveLastModified,
>                                      substitute);
