Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Treggiari2004-12-16 22:38:04 -0500
committerLeo Treggiari2004-12-16 22:38:04 -0500
commite64af36c39e90d2bebe1119309a2a261bce47627 (patch)
tree707fd77a9a6c3f532d82525ac1b75f71cfb49f9c
parent8a4e0dde3acefe076ccb66adc2382c72a74cee41 (diff)
downloadorg.eclipse.cdt-e64af36c39e90d2bebe1119309a2a261bce47627.tar.gz
org.eclipse.cdt-e64af36c39e90d2bebe1119309a2a261bce47627.tar.xz
org.eclipse.cdt-e64af36c39e90d2bebe1119309a2a261bce47627.zip
Handle String options properly in the conversion.
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject12.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject12.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject12.java
index b1f1775737..c729c70ab2 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject12.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject12.java
@@ -371,6 +371,9 @@ class UpdateManagedProject12 {
configuration.setOption(tool, newOpt, bool.booleanValue());
break;
case IOption.STRING:
+ String strVal = (String) optRef.getAttribute(IOption.DEFAULT_VALUE);
+ configuration.setOption(tool, newOpt, strVal);
+ break;
case IOption.ENUMERATED:
// This is going to be the human readable form of the enumerated value
String name = (String) optRef.getAttribute(IOption.DEFAULT_VALUE);

Back to the top