Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355601 - Make Targets Not Found In Nested Folders
Summary: Make Targets Not Found In Nested Folders
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 8.0.2   Edit
Assignee: Andrew Gvozdev CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 23:57 EDT by Matt Davies CLA
Modified: 2011-12-26 16:28 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 Matt Davies CLA 2011-08-23 23:57:47 EDT
Build Identifier: 20110615-0604

I have done some testing with new and old projects.

The new issue appears that it is not finding targets in folders that are C source folders. Targets in non-source folders are found ok.

This has been independently confirmed by a senior cdt forum member.

Reproducible: Always

Steps to Reproduce:
1. Create a makefile target in a nested "C source" folder using the Make Target view -- skip a directory level so that there are no targets are defined in the source folder itself.
2. Check "Hide Empty Folders".
3. Observe that the new target is not accessible.
Comment 1 Axel Mueller CLA 2011-08-24 02:32:40 EDT
(In reply to comment #0)
> This has been independently confirmed by a senior cdt forum member.
The topic has been discussed here http://www.eclipse.org/forums/index.php/t/235719/

BTW, this bug should be moved to cdt-build. However, I do not have the rigths to do it...
Comment 2 Andrew Gvozdev CLA 2011-08-24 10:25:38 EDT
I'll take a look. Note that there is preference C/C++ ->Appearance, "Show source roots at top of project". If it is disabled the folder will show up.
Comment 3 Axel Mueller CLA 2011-08-25 02:50:29 EDT
(In reply to comment #2)
> I'll take a look. Note that there is preference C/C++ ->Appearance, "Show
> source roots at top of project". If it is disabled the folder will show up.
Thanks for the hint. That helped.
Comment 4 Andrew Gvozdev CLA 2011-09-26 12:22:04 EDT
Fixed for 8.0.2 and master.
Comment 5 CDT Genie CLA 2011-09-26 12:23:01 EDT
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 355601: Make Targets Not Found In Nested Folders

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=14939e4ab605da5de185999111cd0d21ae9e45bd
Comment 6 CDT Genie CLA 2011-09-26 13:23:01 EDT
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 355601: Make Targets Not Found In Nested Folders

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=afd5b11868fca580219e61a7eefa54f53652532e
Comment 7 Andrew Gvozdev CLA 2011-11-02 11:12:55 EDT
Hrm, something still is not working correctly. Now a tree of empty plain folders hanging - corresponding to source folders - can be observed.
Comment 8 Andrew Gvozdev CLA 2011-12-26 16:28:32 EST
Fixed on master and cdt_8_0.