Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira2014-09-18 16:52:08 -0400
committerJeff Johnston2014-09-19 13:21:01 -0400
commitfd8148a659bc1088d93e0bb1d2ebeaf9d02bcde3 (patch)
tree4bed9f9df3dae6be354cffc249304660b1b040f6
parent8015431bf17e5b92f71768157c60ef7410b0fa9b (diff)
downloadorg.eclipse.cdt-fd8148a659bc1088d93e0bb1d2ebeaf9d02bcde3.tar.gz
org.eclipse.cdt-fd8148a659bc1088d93e0bb1d2ebeaf9d02bcde3.tar.xz
org.eclipse.cdt-fd8148a659bc1088d93e0bb1d2ebeaf9d02bcde3.zip
Autotools Sync - Fix an issue when trying to build Syncro Autotools project.
As the RemoteCommandLauncher#makeRemote already convert the local path to a remote path, dont need to convert it here, otherwise it will mess with the configure path. Change-Id: Ibaaeb34dc80f1574f8b59db0ad0d68cf49af2551 Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com> Reviewed-on: https://git.eclipse.org/r/33574 Reviewed-by: Greg Watson <g.watson@computer.org> Reviewed-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com> Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsNewMakeGenerator.java15
1 files changed, 1 insertions, 14 deletions
diff --git a/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsNewMakeGenerator.java b/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsNewMakeGenerator.java
index 97ceb69f3b..4172136783 100644
--- a/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsNewMakeGenerator.java
+++ b/build/org.eclipse.cdt.autotools.core/src/org/eclipse/cdt/internal/autotools/core/AutotoolsNewMakeGenerator.java
@@ -1031,15 +1031,6 @@ public class AutotoolsNewMakeGenerator extends MarkerGenerator {
return rc;
}
- // Method to translate paths to various commands to their remote counter-parts
- private IPath getRemotePath(IPath path) {
- IRemoteResource remRes = (IRemoteResource) getProject().getAdapter(IRemoteResource.class);
- if (remRes != null) {
- return RemoteCommandLauncher.makeRemote(path, remRes);
- }
- return path;
- }
-
// Method to get the Win OS Type to distinguish between Cygwin and MingW
private String getWinOSType() {
if (winOSType.equals("")) {
@@ -1137,11 +1128,7 @@ public class AutotoolsNewMakeGenerator extends MarkerGenerator {
boolean removePWD = false;
removeAllMarkers(project);
-
- // Convert the command path if we have an absolute path and we are executing this remotely
- if (commandPath.isAbsolute())
- commandPath = getRemotePath(commandPath);
-
+
// We want to run the script via the shell command. So, we add the command
// script as the first argument and expect "sh" to be on the runtime path.
// Any other arguments are placed after the script name.

Back to the top