SYNC: Check workspace is already synchronize.
authordonghyuk.yang <donghyuk.yang@samsung.com>
Sun, 27 Apr 2014 06:04:32 +0000 (15:04 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Sun, 27 Apr 2014 06:04:32 +0000 (15:04 +0900)
Change-Id: Idbcf3da9ecb22595f9b403cbb88b6a4ca20e00d7
Signed-off-by: donghyuk.yang <donghyuk.yang@samsung.com>
org.tizen.nativeplatform/src/org/tizen/nativeplatform/build/PlatformExternalBuildRunner.java

index a93ddee..2704486 100644 (file)
@@ -180,7 +180,7 @@ public class PlatformExternalBuildRunner extends ExternalBuildRunner {
         IRemoteFileTools filetool = RemoteConnectionManager.getRemoteTools().getFileTool();
         boolean workspaceExists = false;
         try {          
-                       workspaceExists = filetool.hasFile(remoteWorkspacePath, new NullProgressMonitor());
+                       workspaceExists = filetool.hasDirectory(remoteWorkspacePath, new NullProgressMonitor());
                } catch (RemoteOperationException e) {
                        e.printStackTrace();
                } catch (RemoteConnectionException e) {