Community
Participate
Working Groups
Build ID: (3.3) I20070625-1500 Steps To Reproduce: 1. Select a .class resource that has a source attached to it. 2. Select another java file (or .class file that has source attached to it) 3. Right click on the selection containing the two resources. 4. The "compare with" context menu is not available for this selection. More information: none.
The compare with each other action is from platform search and seems to require IFile. Class files are in archives and we could provide source. Moving to platform search for comments
I meant "The 'compare with each other' action is from platform/compare..."
Ketan, are the .class resources you're trying to compare located in archives (jars)? What do you think should happen when of the files does not have a source attached?
(In reply to comment #3) > Ketan, are the .class resources you're trying to compare located in archives > (jars)? What do you think should happen when of the files does not have a > source attached? Tomasz, Yes, the .class resources I'm comparing are inside jar files. I'm trying to compare the sources of some classes in eclipse plugins, with some plugins that I have in my workspace. I feel that the comparison mechanism should be intelligent enough to decide when comparison should work. If there's source attached to a .class file, it should use that source, else it should not display itself. I think the problem is mostly because the filter for the "compare with" contribution deals works with multiple IFiles; but not on an IClass/whatever and an IFile or two IClass(es)/whatever.
*** Bug 207666 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.