Community
Participate
Working Groups
I wrote this bug for previous versions of Eclipse and I write it here again as I am switched to Helios. The bug is very simple to describe and it makes Mylyn absolutely unusable. -) Create a Task in Mylin and change some classes, so that you have something in your context. -) Just close Eclipse and reopen it that it rebuilds the workspace after start. -> Now I have hundreds of *.class-Files, *.gif-Files, etc. in my Context which makes Mylyn unusable. Filters are disabled in Mylyn and specifying one for e.g. *.class when 'Focus on Active Task' has no effect when activating the Focus again. -- Configuration Details -- Product: Eclipse 1.3.0.20100617-0521 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.mylyn_feature 3.4.1.v20100804-0100-e3x-7Z7f5FBBoPbPQ_XlFeZXJ8
Sorry to hear that the focusing is not working as expected. Have you tried adding a filter for "target/**"? That should filter files generated by Maven. I would also recommend updating to Mylyn 3.4.2. The resource monitoring has been improved in the latest version to ignore changes of a large number of files. You can also disable resource monitoring from the preferences now but still all other features of the task-focused interface. The 3.4.2 version will be released next week but it's already available from this update site: http://download.eclipse.org/tools/mylyn/update/maintenance Shawn, I think we should add a filter for the target/ directory by default to avoid this scenario.
Thanks for the information! I tried out your suggestions and also updated to the new release and here are the results: -) I added your filter in the preferences (Tasks/Resources) and to the normal filter preferences in the Package Explorer (when I deselect 'Focus on Active Task'). This didn't change anything as far as I coud see. -) What I've found is 'Maven module filter', which I haven't taken into account because the naming is not very intuitive. Every project I have is a maven module for me but I don't want to hide whole projects or pom.xml files. (A better naming would be very helpful in my opinion). -) I think this filter works if it is selected and it would really be a good idea to add it by default. The problem at the moment (maybe only in this version) is, that this filter is not taken into account when you activate a Task, open Eclipse or deselect/select 'Focus on active Task' even if it is selected. You have to deselect and select 'Mavan modules filter' again and then the filter works, so this is definitely a bug. -) What I also found out is that I see empty projects what is also wrong in my opinion but that's not such a big problem. (e.g. after I do a refresh of the whole file system)
Shawn, let's take a look at this for 3.5. We should ensure that we provide a default configuration that works with Maven. Now that m2e is part of the Java EPP package this is even more relevant.
We'll add a filter for "target/**" by default but I haven't quite understood what the "Maven module filter" is supposed to do? Could you provide steps how to make it filter? We could consider adding it to the list of retained filters
The ID of the filter is "org.eclipse.m2e.ui.internal.filter.MavenModuleFilter".
Created attachment 189017 [details] patch Steffen, could you have a quick look at this patch and let me know what you think? Previously, the default preference was not used properly and therefore we need to do something special so that users get this new exclusion. Also, I have changed how this works so that default preferences are used from now on so that we wont have this problem again.
Created attachment 189018 [details] mylyn/context/zip
I have added the target/** exclusion and the maven module filter class. With this, I also fixed up how the preserved filter classes work so that we do not instantiate the filter when reading the extension point, but just use the class identifier.
Created attachment 189445 [details] mylyn/context/zip
I have kicked off a new weekly build: https://hudson.eclipse.org/hudson/job/mylyn-release/37/ . Wolfgang, if you get a chance, it would be great if you could try that build once it's available from http://download.eclipse.org/mylyn/snapshots/weekly and let us know if that fixes the problem.