From c5df464e3c710195502c8d9948a965c4bd1835cc Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Thu, 24 Mar 2011 08:18:32 +0000
Subject: [PATCH] bug fixed

SVN: 20480
---
 .../dss/phosphonetx/server/plugins/LocalAndRemoteCopier.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/dss/phosphonetx/server/plugins/LocalAndRemoteCopier.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/dss/phosphonetx/server/plugins/LocalAndRemoteCopier.java
index 11dbe93854d..bb1c99fecbc 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/dss/phosphonetx/server/plugins/LocalAndRemoteCopier.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/dss/phosphonetx/server/plugins/LocalAndRemoteCopier.java
@@ -106,6 +106,7 @@ class LocalAndRemoteCopier implements Serializable, IPostRegistrationDatasetHand
         {
             File sshExecutable = Copier.getExecutable(properties, DataSetCopier.SSH_EXEC);
             File rsyncExecutable = Copier.getExecutable(properties, DataSetCopier.RSYNC_EXEC);
+            File gfindExecutable = Copier.getExecutable(properties, DataSetCopier.GFIND_EXEC);
             IPathCopier copier = pathCopierFactory.create(rsyncExecutable, sshExecutable);
             copier.check();
             String rsyncModule = hostAwareFile.tryGetRsyncModule();
@@ -116,8 +117,8 @@ class LocalAndRemoteCopier implements Serializable, IPostRegistrationDatasetHand
             ISshCommandExecutor sshCommandExecutor =
                     sshCommandExecutorFactory.create(sshExecutable, hostOrNull);
             executor =
-                    new RemoteDataSetFileOperationsExecutor(sshCommandExecutor, copier, hostOrNull,
-                            rsyncModule, rsyncPasswordFile);
+                    new RemoteDataSetFileOperationsExecutor(sshCommandExecutor, copier,
+                            gfindExecutable, hostOrNull, rsyncModule, rsyncPasswordFile);
         }
     }
 
-- 
GitLab