Bug 14172 - Builder is setting source resources as derived!
Summary: Builder is setting source resources as derived!
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-18 17:13 EDT by Randy Giffen CLA
Modified: 2002-04-19 04:56 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Giffen CLA 2002-04-18 17:13:31 EDT
I20020416 == M5
This is critical.
IncrementalProjectBuilder.findSourceFiles() for added files is calling 
setDerived(true) on the *source* file, not the *destination* file. The result 
is that new resource files in source directories are being marked as derived 
and excluded from team operations. The files in the bin/ folder, conversely, 
are not being marked as derived.
Comment 1 Philipe Mulet CLA 2002-04-19 04:56:34 EDT
The entire resource copy process is tagging the wrong resource file (original) 
instead of target one.

Fixed occurrences of wrong logic in:

copyExtraResourcesBack()
  - org.eclipse.jdt.internal.core.builder.BatchImageBuilder
findSourceFiles(IResourceDelta, int)
  - org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder (2 matches)