Community
Participate
Working Groups
Follow-up of bug 287164. We need to add UI for new JDT Core option: OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE.
Created attachment 205530 [details] Fix
Fixed in master: a5b3f92ac7a9e31376dbcd6ee08c22715f55b8ed
IMHO, The wording in the UI does not exactly capture what the new warning is meant for. The configuration says "Output location overlaps source location". This makes it look like its a configuration to raise an error for the following setup P +src output folder: src However, it is actually for a scenario where another source folder is using src as its output folder i.e P +src output folder: src +src2 output folder: src
> P > +src > output folder: src This is the special case where it works. What would you suggest then?
(In reply to comment #4) > What would you suggest then? "Output location overlaps distinct source location" This would bring it closer to the error message and would eliminate the above case. (Well, I know that the 'distinct' things here are the source folders, but I don't think we can capture the proper semantics of distinct in a short message. This message will atleast prevent the user from jumping to conclude that this is related to same folder case in comment 3)
(In reply to comment #5) > (In reply to comment #4) > > What would you suggest then? > "Output location overlaps distinct source location" > This message will atleast prevent the user from jumping to conclude > that this is related to same folder case in comment 3) I think "distinct" even tells less. And in some way the folders don't overlap if there's just one source folder as output folder since there won't be conflicts.
Verified in I20111025-1800.