[Swift-commit] r5857 - trunk/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jul 19 00:56:35 CDT 2012


Author: hategan
Date: 2012-07-19 00:56:32 -0500 (Thu, 19 Jul 2012)
New Revision: 5857

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java
Log:
fixed directory for file copier

Modified: trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java	2012-07-18 23:41:09 UTC (rev 5856)
+++ trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java	2012-07-19 05:56:32 UTC (rev 5857)
@@ -58,9 +58,9 @@
         AbsFile fdst = (AbsFile) dst;
         FileTransferSpecification fts = new FileTransferSpecificationImpl();
         fts.setDestinationDirectory(fdst.getDir());
-        fts.setDestinationFile(fdst.getPath());
+        fts.setDestinationFile(fdst.getName());
         fts.setSourceDirectory(fsrc.getDir());
-        fts.setSourceFile(fsrc.getPath());
+        fts.setSourceFile(fsrc.getName());
         fts.setThirdPartyIfPossible(true);
         task = new FileTransferTask();
         task.setSpecification(fts);




More information about the Swift-commit mailing list