bodewig 02/02/27 08:36:40
Modified: src/main/org/apache/tools/ant/taskdefs Copy.java
Log:
clean up at the end of execute so that this instance can be reused.
Revision Changes Path
1.33 +4 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java
Index: Copy.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- Copy.java 25 Feb 2002 11:03:40 -0000 1.32
+++ Copy.java 27 Feb 2002 16:36:39 -0000 1.33
@@ -89,7 +89,7 @@
* @author <A href="[EMAIL PROTECTED]">Michael McCallum</A>
* @author <a href="mailto:[EMAIL PROTECTED]">Magesh Umasankar</a>
*
- * @version $Revision: 1.32 $
+ * @version $Revision: 1.33 $
*/
public class Copy extends Task {
protected File file = null; // the source file
@@ -318,6 +318,9 @@
if (destFile != null) {
destDir = null;
}
+ fileCopyMap.clear();
+ dirCopyMap.clear();
+ completeDirMap.clear();
}
//************************************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>