Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350197 - Generator settings not all removed when disabling project settings
Summary: Generator settings not all removed when disabling project settings
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 17:23 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Spadea CLA 2011-06-23 17:23:42 EDT
Have an EGL project use project-specific settings. Set some generators on it. Then choose a file or package in the project, and give it different generators.

Now uncheck the project-specific settings box in the property page, so that workspace defaults get used. There's still some project-specific settings in the .settings folder.

For example in org.eclipse.edt.ide.core.prefs:
generatorIds//eglsource/a/b/c=org.eclipse.edt.ide.gen.JavaGenProvider

This was where I had package a.b.c overriding the generator settings.

And in org.eclipse.edt.ide.compiler.prefs:
javaGenDirectory//eglsource/a/b/c=P/generatedJava

The generator-specific setting was also not cleaned up for this resource.

The project-level settings were correctly removed.
Comment 1 Alice Connors CLA 2011-07-05 10:29:34 EDT
At the folder and file level, we don't necessarily need to allow you to go back to workspace settings.  Consider only allowing project-level settings (check and disable the 'Enable project-level settings' box) for properties at these levels.
Comment 2 Justin Spadea CLA 2011-07-08 11:06:51 EDT
Part of multi-bug fix, files affected may include:

GenerationSettingsComposite
CompilerAndGeneratorControls
CompilerPropertyAndPreferencePage
PropertyAndPreferencePage
ProjectSettingsUtility
plugin.xml from edt.ide.ui
Comment 3 Justin Spadea CLA 2011-09-15 11:30:30 EDT
Verified