ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r292276 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java
Date Wed, 28 Sep 2005 19:28:44 GMT
Author: bodewig
Date: Wed Sep 28 12:28:39 2005
New Revision: 292276

URL: http://svn.apache.org/viewcvs?rev=292276&view=rev
Log:
No, not necessary

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java?rev=292276&r1=292275&r2=292276&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java Wed Sep 28 12:28:39
2005
@@ -112,11 +112,7 @@
      * @since Ant 1.7
      */
     public void add(ResourceCollection rc) {
-        if (rc instanceof FileSet) {
-            addFileset((FileSet) rc);
-        } else {
-            resources.add(rc);
-        }
+        resources.add(rc);
     }
 
     /**
@@ -417,7 +413,7 @@
                     baseDirs.removeAllElements();
                 }
             }
-
+        
             Iterator iter = resources.iterator();
             while (iter.hasNext()) {
                 Resource res = (Resource) iter.next();
@@ -455,7 +451,7 @@
                 if (!parallel) {
                     String[] command = getCommandline(name, base);
                     log(Commandline.describeCommand(command),
-                    Project.MSG_VERBOSE);
+                        Project.MSG_VERBOSE);
                     exe.setCommandline(command);
 
                     if (redirectorElement != null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message