whoops ;-)
[mir.git] / source / mir / producer / DirCopyingProducerNode.java
index c943c98..a9f5509 100755 (executable)
@@ -51,12 +51,14 @@ public class DirCopyingProducerNode implements ProducerNode  {
   public void produce(Map aValueMap, String aVerb, PrintWriter aLogger) throws ProducerFailure {
     String source = "";
     String destination = "";
+    File sourceFile;
+    File destinationFile;
 
     try {
       source = ParameterExpander.expandExpression( aValueMap, sourceExpression );
       destination = ParameterExpander.expandExpression( aValueMap, destinationExpression );
       aLogger.println("Copying " + source + " into " + destination);
-      FileCopier.copyDirectory(
+      FileCopier.copy(
         new File(sourceBasePath, source),
         new File(destinationBasePath, destination));
     }
@@ -64,8 +66,4 @@ public class DirCopyingProducerNode implements ProducerNode  {
       throw new ProducerFailure("Copying " + source + " into " + destination + " failed: " + e.getMessage(), e);
     }
   }
-
-  public Set buildVerbSet() {
-    return new HashSet();
-  }
 }