Community
Participate
Working Groups
A couple of bugs here: - Creating a new configuration from an exsiting one, doesn't remove the previous exported library path. - Renaming a project doesn't update the exported settings. Similar to bug 230165 where the artifact name doens't change when project is renamed. Exported settings are hard-coded to match the current project name and artifact name. Instead it would be better if they used the ${ConfigName} and ${ProjName} variables as Andrew suggested in bug 328363. That way the settings should always be in sync with the current configuration.
Created attachment 187282 [details] patch 1 Patch for the first issue. - Creating a configuration from an existing configuration resets the exported settings on the new configuration to defaults. Fixing this issue is hard in the current model. All exported settings are glommed together in the configuration. So it's impossible to tell custom, user provided exports, from built-ins (see ICConfigurationDescription#get/setExternalSettings). Ideally the entire external settings feature should be built on top of the new Scanner Discovery. Having N different API hooks for each path and symbol is crazy.
Same is true for a configuration rename.
*** cdt cvs genie on behalf of jblackburn *** Bug 335001 - Copying a configuration persists previous exported library path, patch 1 [*] Configuration.java 1.99 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Configuration.java?root=Tools_Project&r1=1.98&r2=1.99 [*] ConfigurationDataProvider.java 1.27 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/dataprovider/ConfigurationDataProvider.java?root=Tools_Project&r1=1.26&r2=1.27