Community
Participate
Working Groups
I've seen similar requests in the newsgroups quite a few times: User marks the "build" (for Ant) or "target" (for Maven) folders as derived resources. When the user does a "clean" build using one of these tools, the corresponding folder is deleted and re-created. In this process, Eclipse "forgets" that the folder is derived. It would be nice if Eclipse could remember that a resource is derived when said resource is deleted.
i 2nd that notion and i also think that derived resources should not only be remembered in some workspace config but be stored with the project itself. USE CASE if often have to unload projects to work on a branch or just to have less projects hanging around and that info gets lost each time! possibilities: - .projects folder - new file: .derived or .derivedResources to be more verbose. in there you could have 2 diff. types: remember by name and remember by pattern :thinking: writing this, i just noticed this is the same idea as with svn:ignore. *maybe* it is a good idea to mark all files that are ignored by SVN or CVS as derived by default. since this is an automated process there should be a hint that this happens at least once (e.g. when importing the project) or this is an option in the preferences that must be turned on. also, to make things visible in the explorer views it would be good to have an overlay for this or some other visual feedback.
*** Bug 316425 has been marked as a duplicate of this bug. ***
I think most people would be happy if the Search dialog allowed you to exclude version control "ignored" files in addition to derived resources. The biggest issue seems to be searches returning results for derived folders that lost their setting. These folders are mostly marked as ignored for version control.
(In reply to comment #3) > I think most people would be happy if the Search dialog allowed you to exclude > version control "ignored" files in addition to derived resources. The biggest > issue seems to be searches returning results for derived folders that lost > their setting. These folders are mostly marked as ignored for version control. Enhancement request to exclude ignored resources from searches: https://bugs.eclipse.org/bugs/show_bug.cgi?id=340969
Maybe anything with an "ignored" version control property could automatically be flagged by eclipse as "derived".
Wow, almost 12 years now that bug hasn't been fixed...
I mentioned two workarounds for this here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=150578#c41