Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320141

Summary: provide option to turn off resource monitoring
Product: z_Archived Reporter: Mik Kersten <mik.kersten>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: unspecified   
Target Milestone: 3.4.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
fix
none
mylyn/context/zip
none
fix with externalized messages none

Description Mik Kersten CLA 2010-07-16 15:49:06 EDT
If a developer is doing code generation that's creating tens of thousands of files, and those files are not being marked as derived resources, and they are not able to create a resource exclusion pattern (eg, the files land in the same packages as non-generated files), the context can get polluted.  Let's add the following option to Preferences/Tasks/Resources:
* Enable file change monitoring (Recommended, newly created and modified files will get added to the context)

I think that we should also remove the "Exclude files modified when the task is not active" preference as we don't have a use case for turning that off, beyond working around bugs.
Comment 1 Steffen Pingel CLA 2010-07-30 17:24:40 EDT
Created attachment 175618 [details]
fix
Comment 2 Steffen Pingel CLA 2010-07-30 17:24:42 EDT
Created attachment 175619 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-07-30 18:25:18 EDT
Created attachment 175630 [details]
fix with externalized messages
Comment 4 Steffen Pingel CLA 2010-07-30 18:32:51 EDT
Patch committed to e_3_6_m_3_4_x branch and head. The resource preference page has a new option to disable resource monitoring and the check box for controlling file stamp based monitoring has been removed.