Bug 36711 - Resource duplication message should list location of duplicate
Summary: Resource duplication message should list location of duplicate
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-21 12:03 EDT by Kevin Klinemeier CLA
Modified: 2003-06-06 09:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Klinemeier CLA 2003-04-21 12:03:29 EDT
Currently, if two non-java files exist in separate source trees with the same
directory structure and name, the second instance generates a warning message
with the text:

The resource is a duplicate and was not copied to the output folder.	

The message indicates one of the duplicated files, I'm guessing the second one
found.

It would be very handy if the message indicated in some way the *other* file(s)
that the resource duplicated.

One approach would be to also create a warning on the file that *is* copied,
with text similar to:

This resource has a duplicate, the duplicate was not copied to the output folder

I'd prefer this to just including the location in the text because it allows me
to use the taskbar to jump to the files in question.
Comment 1 Dirk Baeumer CLA 2003-04-22 03:34:50 EDT
Warning is generated by the builder. Moving to JDT/Core.
Comment 2 Kent Johnson CLA 2003-04-22 15:13:59 EDT
Fixed.
Comment 3 David Audel CLA 2003-06-06 09:45:04 EDT
Verified.