peterreilly 2005/02/18 02:49:27 Modified: . build.xml src/main/org/apache/tools/ant/types AbstractFileSet.java Log: clear the cached directory scanner when cloning an abstractfileset Revision Changes Path 1.455 +0 -1 ant/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/ant/build.xml,v retrieving revision 1.454 retrieving revision 1.455 diff -u -r1.454 -r1.455 --- build.xml 16 Feb 2005 17:40:07 -0000 1.454 +++ build.xml 18 Feb 2005 10:49:27 -0000 1.455 @@ -333,7 +333,6 @@ <exclude unless="run.failing.tests" name="${optional.package}/jdepend/JDependTest.java"/> <exclude unless="run.failing.tests" name="${optional.package}/DotnetTest.java"/> <exclude unless="run.failing.tests" name="${optional.package}/WsdlToDotnetTest.java"/> - <exclude unless="run.failing.tests" name="${ant.package}/taskdefs/CloneTest.java"/> </patternset> <!-- 1.45 +1 -0 ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java Index: AbstractFileSet.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- AbstractFileSet.java 11 Feb 2005 18:05:07 -0000 1.44 +++ AbstractFileSet.java 18 Feb 2005 10:49:27 -0000 1.45 @@ -784,6 +784,7 @@ .addElement(((PatternSet) e.nextElement()).clone()); } fs.selectors = (Vector) fs.selectors.clone(); + fs.directoryScanner = null; // Clear the cached directory scanner return fs; } catch (CloneNotSupportedException e) { throw new BuildException(e);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]