Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2010-09-30 11:23:13 -0400
committerVivian Kong2010-09-30 11:23:13 -0400
commit0c167a93c968140cc377acb1d7295a21a6ab8d8c (patch)
tree7b7cd6e79524a05075e0af41d9759377bc937898
parent96e240648058e212bee300dcfa45311f7e129d89 (diff)
downloadorg.eclipse.cdt-0c167a93c968140cc377acb1d7295a21a6ab8d8c.tar.gz
org.eclipse.cdt-0c167a93c968140cc377acb1d7295a21a6ab8d8c.tar.xz
org.eclipse.cdt-0c167a93c968140cc377acb1d7295a21a6ab8d8c.zip
Bug 326594 [Backport] Lost preference: build only if changes in workspace
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CCorePreferenceInitializer.java5
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java2
2 files changed, 5 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CCorePreferenceInitializer.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CCorePreferenceInitializer.java
index c9aa1bc18b..217e534d46 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CCorePreferenceInitializer.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CCorePreferenceInitializer.java
@@ -9,6 +9,7 @@
* QNX Software Systems - Initial API and implementation
* Sergey Prigogin (Google)
* Markus Schorn (Wind River Systems)
+ * IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.internal.core;
@@ -61,6 +62,10 @@ public class CCorePreferenceInitializer extends AbstractPreferenceInitializer {
defaultPreferences.putBoolean(CCorePlugin.PREF_USE_STRUCTURAL_PARSE_MODE, false);
defaultPreferences.putBoolean(CCorePreferenceConstants.FILE_PATH_CANONICALIZATION, true);
defaultPreferences.putBoolean(CCorePreferenceConstants.SHOW_SOURCE_ROOTS_AT_TOP_LEVEL_OF_PROJECT, true);
+
+ // build defaults
+ defaultPreferences.putBoolean("build.all.configs.enabled", false); //$NON-NLS-1$
+ defaultPreferences.putBoolean("build.proj.ref.configs.enabled", false); //$NON-NLS-1$
// indexer defaults
IndexerPreferences.initializeDefaultPreferences(defaultPreferences);
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java
index aec11523d4..b15bc37397 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java
@@ -224,8 +224,6 @@ public class CPluginPreferencePage extends FieldEditorPreferencePage implements
public static void initDefaults(IPreferenceStore prefs) {
prefs.setDefault(PreferenceConstants.PREF_LINK_TO_EDITOR, false);
prefs.setDefault(PreferenceConstants.PREF_USE_STRUCTURAL_PARSE_MODE, false);
- ACBuilder.setAllConfigBuild(false);
- ACBuilder.setBuildConfigResourceChanges(false);
}
/* (non-Javadoc)

Back to the top