# HG changeset patch # User timkelly # Date 1284230172 18000 # Node ID f2248d4fb37cf557edb7df198b5a1f1e8d79943f # Parent 0dc4caef98fa6b5e50ac50e2f2182d7c98dd6b04 fixed bug 11347 diff -r 0dc4caef98fa -r f2248d4fb37c builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java Sat Sep 11 11:56:59 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java Sat Sep 11 13:36:12 2010 -0500 @@ -471,4 +471,8 @@ dontCheckForExternalDependencies.setSelection(dontAsk); } + public boolean wantsSBSv1(){ + return wantsSBSv1; + } + } diff -r 0dc4caef98fa -r f2248d4fb37c builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuilderPreferencePage.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuilderPreferencePage.java Sat Sep 11 11:56:59 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuilderPreferencePage.java Sat Sep 11 13:36:12 2010 -0500 @@ -85,7 +85,7 @@ store.setValue(BuilderPreferenceConstants.PREF_CONCURRENT_BUILD_JOBS, buildSettingsUI.getNumConcurrentBuildJobs()); store.setValue(BuilderPreferenceConstants.PREF_USE_BUILIN_X86_VARS, buildSettingsUI.getUseBuiltInEnvVars()); - if (SBSv2Utils.enableSBSv1Support()) { + if (SBSv2Utils.enableSBSv1Support() && buildSettingsUI.wantsSBSv1()) { store.setValue(BuilderPreferenceConstants.PREF_CLEAN_LEVEL, buildSettingsUI.getDefaultCleanLevelv1()); store.setValue(BuilderPreferenceConstants.PREF_MANAGE_DEPENDENCIES, buildSettingsUI.getManageDependencies()); store.setValue(BuilderPreferenceConstants.PREF_MMP_CHANGED_ACTION_PROMPT, buildSettingsUI.getPromptForMMPChangedAction());