aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Fraxino Araujo2013-11-26 07:15:31 (EST)
committerJeff Johnston2013-12-09 12:49:11 (EST)
commit4a0140196ad23b14b720691ef9ba7dc755bf88c6 (patch)
tree4587cceb2d63a87da4ba71d8e4c6f74a020248c1
parent7fc62393aafda3333745a4290650b41536250cf8 (diff)
downloadorg.eclipse.linuxtools-4a0140196ad23b14b720691ef9ba7dc755bf88c6.zip
org.eclipse.linuxtools-4a0140196ad23b14b720691ef9ba7dc755bf88c6.tar.gz
org.eclipse.linuxtools-4a0140196ad23b14b720691ef9ba7dc755bf88c6.tar.bz2
perf: Fix for remote testing.refs/changes/96/18996/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> Reviewed-on: https://git.eclipse.org/r/18996 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> IP-Clean: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@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());