Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » How to successfully exclude paths from context?
How to successfully exclude paths from context? [message #505364] Wed, 30 December 2009 00:19 Go to next message
David M. Karr is currently offline David M. Karr
Messages: 354
Registered: July 2009
Senior Member
Occasionally I have to do an "svn update" on projects that weren't previously in my task context. As a result, every file touched in the update goes into my context. I can understand that, but I've attempted to add exclusions so that certain paths won't be automatically added.

For instance, all of my projects have a "gen" directory which I want to completely ignore, with respect to my task context. I tried adding "gen/*" to the "Resource Monitoring Exclusions" list, but this appeared to have no effect. Files in the "gen" tree still got added to the context when I updated a project. I also tried "*/gen/*", but that didn't work either (and isn't exactly what I wanted to specify).
Re: How to successfully exclude paths from context? [message #505376 is a reply to message #505364] Wed, 30 December 2009 00:38 Go to previous message
Jörg Thönnes is currently offline Jörg Thönnes
Messages: 229
Registered: July 2009
Senior Member
Hi David,

AFAIK this feature just works on file names, not on complete paths.
I.e. in your case just using "gen" should work.

I agree with you that this matching on file / directory names is too simple and should be extended.
We also hit by unwanted updates of generated files, but since their happen inside the normal class
hierarchy, we have no way to exclude them.

I am not sure whether there is already a bug tracking enhancements here, maybe someone of the Mylyn
guys (Steffen?) will answer here.

Cheers, Jörg

On 12/30/09 01:19, David M. Karr wrote:
> Occasionally I have to do an "svn update" on projects that weren't
> previously in my task context. As a result, every file touched in the
> update goes into my context. I can understand that, but I've attempted
> to add exclusions so that certain paths won't be automatically added.
>
> For instance, all of my projects have a "gen" directory which I want to
> completely ignore, with respect to my task context. I tried adding
> "gen/*" to the "Resource Monitoring Exclusions" list, but this appeared
> to have no effect. Files in the "gen" tree still got added to the
> context when I updated a project. I also tried "*/gen/*", but that
> didn't work either (and isn't exactly what I wanted to specify).
Previous Topic:Nested tasks not being marked as Read properly?
Next Topic:How to successfully exclude paths from context?
Goto Forum:
  


Current Time: Thu Oct 02 10:28:57 GMT 2014

Powered by FUDForum. Page generated in 0.02321 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software