Community
Participate
Working Groups
Build Identifier: helios The preference 'Build configurations only when there are Eclipse resource changes within the project and its references' in the 'C/C++' group is reset (disabled) every time a workspace is restarted. This preference was introduced for bug 219337. Reproducible: Always Steps to Reproduce: I downloaded the CDT package for Win32 from http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/heliosr. In a new workspace, I enabled the preference 'Build configurations only when there are Eclipse resource changes within the project and its references' in the 'C/C++' group. After restarting the workspace that preference is lost. Worse, if you enable it, it doesn't take effect unless you press 'Apply' twice (or more), or press 'Apply' and then 'OK'.
Created attachment 175885 [details] proposed patch
Vivian, seeing as you were involved in fixing bug 219337, I thought you might be able to comment on this (and commit it if meets with your approval). Thanks.
I'll take a look
Applied to HEAD with minor copyright statement changes. Thanks Keith
*** cdt cvs genie on behalf of vkong *** Bug 321778 Lost preference: build only if changes in workspace - patch by Keith W. Campbell [*] ACBuilder.java 1.31 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/ACBuilder.java?root=Tools_Project&r1=1.30&r2=1.31 [*] CCorePreferenceInitializer.java 1.25 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CCorePreferenceInitializer.java?root=Tools_Project&r1=1.24&r2=1.25 [*] CCorePreferenceConstants.java 1.16 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CCorePreferenceConstants.java?root=Tools_Project&r1=1.15&r2=1.16 [*] CPluginPreferencePage.java 1.31 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java?root=Tools_Project&r1=1.30&r2=1.31
*** cdt cvs genie on behalf of mschorn *** Bug 321778: Fixes since tags. [*] PathUtil.java 1.9 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/PathUtil.java?root=Tools_Project&r1=1.8&r2=1.9 [*] CCorePreferenceConstants.java 1.17 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CCorePreferenceConstants.java?root=Tools_Project&r1=1.16&r2=1.17