Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2011-10-09 13:57:02 -0400
committerAndrew Gvozdev2011-10-09 13:57:27 -0400
commitc617df3475fcbaed5c3ff44ba9e7b43ff370ecf1 (patch)
tree174bef9b3a60efd4b19fde751d3b9c38b5ae5874
parent984fb3b989876ffdd690d2218a8157f0e324c503 (diff)
downloadorg.eclipse.cdt-c617df3475fcbaed5c3ff44ba9e7b43ff370ecf1.tar.gz
org.eclipse.cdt-c617df3475fcbaed5c3ff44ba9e7b43ff370ecf1.tar.xz
org.eclipse.cdt-c617df3475fcbaed5c3ff44ba9e7b43ff370ecf1.zip
bug 360283: Discovery command does not work if workspace name has
spaces
-rw-r--r--build/org.eclipse.cdt.make.core/plugin.xml2
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/plugin.xml6
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml4
3 files changed, 6 insertions, 6 deletions
diff --git a/build/org.eclipse.cdt.make.core/plugin.xml b/build/org.eclipse.cdt.make.core/plugin.xml
index 03f6d45a78..36067e6336 100644
--- a/build/org.eclipse.cdt.make.core/plugin.xml
+++ b/build/org.eclipse.cdt.make.core/plugin.xml
@@ -122,7 +122,7 @@
<scannerInfoProvider providerId="specsFile">
<run
command="gcc"
- arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}"
+ arguments="-E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;"
class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
<scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCSpecsConsoleParser"/>
</scannerInfoProvider>
diff --git a/build/org.eclipse.cdt.managedbuilder.core/plugin.xml b/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
index 532aee8a5f..a34109351c 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
+++ b/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
@@ -86,7 +86,7 @@
</buildOutputProvider>
<scannerInfoProvider providerId="specsFile">
<run
- arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}"
+ arguments="-E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;"
command="gcc"
class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
<scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCSpecsConsoleParser"/>
@@ -105,7 +105,7 @@
</buildOutputProvider>
<scannerInfoProvider providerId="specsFile">
<run
- arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp"
+ arguments="-E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;"
command="g++"
class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
<scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCSpecsConsoleParser"/>
@@ -124,7 +124,7 @@
</buildOutputProvider>
<scannerInfoProvider providerId="specsFile">
<run
- arguments="-E -P -v -dD ${plugin_state_location}/specs.c"
+ arguments="-E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;"
command="gcc"
class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
<scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCSpecsConsoleParser"/>
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml
index c6a089674f..9e58122462 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.core/plugin.xml
@@ -28,7 +28,7 @@
<!-- The compiler command used will be always a C compiler command -->
<!-- The output for C or C++ projects will be different as the ScannerInfoProvider substitute the ${specs_file} variable below with a dummy "c" file or "cpp" file -->
<run
- arguments="-E -v ${plugin_state_location}/${specs_file}"
+ arguments="-E -v &quot;${plugin_state_location}/${specs_file}&quot;"
command="${XL_compilerRoot}/xlc"
class="org.eclipse.cdt.make.xlc.core.scannerconfig.XlCSpecsRunSIProvider">
</run>
@@ -65,7 +65,7 @@
<!-- The compiler command used will be always a C compiler command -->
<!-- The output for C or C++ projects will be different as the ScannerInfoProvider substitute the ${specs_file} variable below with a dummy "c" file or "cpp" file -->
<run
- arguments="-E -v ${plugin_state_location}/${specs_file}"
+ arguments="-E -v &quot;${plugin_state_location}/${specs_file}&quot;"
command="${XL_compilerRoot}/xlC"
class="org.eclipse.cdt.make.xlc.core.scannerconfig.XlCSpecsRunSIProvider">
</run>

Back to the top