Bug 239423 - Wrong view of build included/excluded files
Summary: Wrong view of build included/excluded files
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui, usability
Depends on:
Blocks: 299857
  Show dependency tree
 
Reported: 2008-07-03 06:27 EDT by Slava CLA
Modified: 2010-01-23 14:40 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slava CLA 2008-07-03 06:27:36 EDT
Build ID: M20071023-1652

Steps To Reproduce:
1.Create C++ project.
2.Add 2 or more files into it.
3.Make 2 configurations of the project (e.g. release and debug).
4.In configuation "debug" exclude one file from build.
5.Now turn to "release" configuration and exclude the other file from build.
6.Now you can see, that there is still an arrow near it (showing it's still included into build, tho it's not).

More information:
Comment 1 Denis Roy CLA 2008-07-03 07:47:39 EDT
I'm guessing this is a bug with CDT, so I'll move it there.  However, your Eclipse build seems a bit old.  Can you reproduce the problem with a more recent build?
Comment 2 Nobody - feel free to take it CLA 2008-07-03 11:06:07 EDT
Reassigning to BUILD.
Comment 3 Don Porges CLA 2008-07-03 15:30:02 EDT
I reported this earlier, as bug 230228.  Since this one's seen some action, maybe mark that one as a dup of this?
Comment 4 Slava CLA 2008-07-03 23:16:15 EDT
The behavior is the same on Eclipse Ganymede:
CDT: 5.0.0.200806171202
Eclipse Ganymede: Version: 3.4.0, Build id: I20080617-2000

The only difference is that if one file is excluded in the first configuration it's also being shown as excluded in the second one.

*** This bug has been marked as a duplicate of bug 230228 ***
Comment 5 Slava CLA 2008-07-03 23:18:46 EDT
Bug reopened
Comment 6 Slava CLA 2008-07-07 06:20:40 EDT
It seems like Eclipse has a problem with including/excluding of files in different configurations. If we exclude a whole folder from build in one configuration we cannot include some of files from the folder in another one (Exclude/Include feature is not enabled).
Comment 7 Andrew Gvozdev CLA 2010-01-23 14:40:00 EST
(In reply to comment #6)
> It seems like Eclipse has a problem with including/excluding of files in
> different configurations. If we exclude a whole folder from build in one
> configuration we cannot include some of files from the folder in another one
> (Exclude/Include feature is not enabled).
I don't see that happening in CDT 7.0. If you exclude files from one configuration they are still included in the other and the controls are enabled. Perhaps you expect Project Explorer to display settings for Active configuration while it shows indexer configuration? See comments in bug 230228 and in bug 247021 comments 10-12.

If it is not the case, please provide reproducible test case.