Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350074 - Regenerate when the generator settings for the source file have changed
Summary: Regenerate when the generator settings for the source file have changed
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 12:07 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:17 EST (History)
0 users

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-22 12:07:00 EDT
Could be an explicit change on the .egl file, or could it's inheriting its setting from a parent resource, and that inherited setting changed.
Comment 1 Justin Spadea CLA 2011-06-22 17:18:31 EDT
Looks like we should be able to have something listen to changes to generator settings, figure out all the resources affected by the changed setting, and do IResource.touch() on each of their corresponding IRs. This will cause an incremental generation build to run with the delta being all the IRs touched.

Will need to make sure we listen to project settings as well as the workspace preferences.
Comment 2 Justin Spadea CLA 2011-06-24 12:41:37 EDT
Modified/added the following in edt.ide.core:

CoreIDEPluginStrings.java
EDTCoreIDEPlugin.java
CoreIDEPluginResources.properties
+ ProjectSettingsListenerManager.java
ResourceChangeProcessor.java
GenerationBuilder.java
GenerationBuildManager.java
ProjectSettingsUtility.java
Comment 3 Justin Spadea CLA 2011-07-05 14:56:21 EDT
Verified in latest CVS