summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorRodrigo Fraxino Araujo2013-11-26 07:15:31 (EST)
committer Alexander Kurtakov2013-11-27 02:58:38 (EST)
commit365428e902048308e590fe8ee1615fcab32c3cbf (patch)
treec7ef125251620930408e1ca72e9db8811c1e3ab0
parent2feae5fc35a2f7f2effd72ae150f38e4ac97285e (diff)
downloadorg.eclipse.linuxtools-365428e902048308e590fe8ee1615fcab32c3cbf.zip
org.eclipse.linuxtools-365428e902048308e590fe8ee1615fcab32c3cbf.tar.gz
org.eclipse.linuxtools-365428e902048308e590fe8ee1615fcab32c3cbf.tar.bz2
perf: Fix for remote testing.refs/changes/86/18886/3
It was unable to find the dir from the gui interface. Added new functionalities. Change-Id: I0762bfbc3056008f1095d78872d189bb7839f60e Reviewed-on: https://git.eclipse.org/r/18886 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> IP-Clean: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/remote/launch/PerfLaunchConfigDelegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/remote/launch/PerfLaunchConfigDelegate.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/remote/launch/PerfLaunchConfigDelegate.java
index fe74096..1400bc6 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/remote/launch/PerfLaunchConfigDelegate.java
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/remote/launch/PerfLaunchConfigDelegate.java
@@ -128,7 +128,7 @@ public class PerfLaunchConfigDelegate extends ProfileLaunchConfigurationDelegate
}
IPath remoteBinFile = Path.fromOSString(exeURI.getPath());
IFileStore workingDir;
- URI workingDirURI = new URI(configUtils.getWorkingDirectory());
+ URI workingDirURI = new URI(RemoteProxyManager.getInstance().getRemoteProjectLocation(project));
RemoteConnection workingDirRC = new RemoteConnection(workingDirURI);
IRemoteFileProxy workingDirRFP = workingDirRC.getRmtFileProxy();
workingDir = workingDirRFP.getResource(workingDirURI.getPath());