Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 298742 - Duplicate and unordered problems in build.properties
Summary: Duplicate and unordered problems in build.properties
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Ankur Sharma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-04 06:23 EST by Markus Keller CLA
Modified: 2010-01-07 09:49 EST (History)
0 users

See Also:


Attachments
test project (196.71 KB, image/zip)
2010-01-04 06:23 EST, Markus Keller CLA
no flags Details
Screenshots (93.10 KB, image/png)
2010-01-04 06:25 EST, Markus Keller CLA
no flags Details
Patch (8.66 KB, patch)
2010-01-07 09:45 EST, Ankur Sharma CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2010-01-04 06:23:49 EST
Created attachment 155218 [details]
test project

HEAD, follow-up to bug 296457

- import the attached project (modified version of org.eclipse.core.filebuffers)
- open build.properties
- go to source page
- click the quick fix light bulb on line 1

=> There are 2 fixes called "Add all missing java compiler build entries" (should only be one)
=> "Java" should have uppercase "J"
=> The entries are not always in the same order.
Comment 1 Markus Keller CLA 2010-01-04 06:25:44 EST
Created attachment 155219 [details]
Screenshots

The screenshots show two different orderings in different workspaces. The JavaElement View shows that the markers are not always returned in the same order, but that shouldn't matter for the presentation of the quick fixes.
Comment 2 Ankur Sharma CLA 2010-01-04 06:47:19 EST
There one more related problem that we found in M4. Copy pasting from https://bugs.eclipse.org/bugs/show_bug.cgi?id=297115#c11 to keep track of it

There is one hidden bug which I uncovered while attempting to fix it and is
bit not-so-related to this bug. Suppose there are two source folders whose
output folder are not mentioned in output.. entry. This will create two problem
markers. Since the markers execute quick fixes in async, it sometimes generate
2 output.. entries
Comment 3 Ankur Sharma CLA 2010-01-07 09:45:11 EST
Created attachment 155501 [details]
Patch
Comment 4 Ankur Sharma CLA 2010-01-07 09:49:02 EST
Fixed in HEAD