You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2005/09/16 12:36:50 UTC
svn commit: r289482 -
/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/CopyPath.java
Author: stevel
Date: Fri Sep 16 03:36:44 2005
New Revision: 289482
URL: http://svn.apache.org/viewcvs?rev=289482&view=rev
Log:
in copypath, we skip directories although there is on other choice -bulk copy. Maybe a switch could determine policy here.
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/CopyPath.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/CopyPath.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/CopyPath.java?rev=289482&r1=289481&r2=289482&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/CopyPath.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/CopyPath.java Fri Sep 16 03:36:44 2005
@@ -160,6 +160,10 @@
Project.MSG_VERBOSE);
continue;
}
+ if(sourceFile.isDirectory()) {
+ log("Skipping directory " + sourceFileName);
+ continue;
+ }
try {
log("Copying " + sourceFile + " to " + destFile,
Project.MSG_VERBOSE);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org