This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 192094 - I cant see copied header files between C projects
Summary: I cant see copied header files between C projects
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 09:04 UTC by mstarnacki
Modified: 2010-11-18 23:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mstarnacki 2010-11-18 09:04:47 UTC
I have had 2 projects Dynamic Library C and Application C. I took a copy of header file from Dynamic Library into Application in Files Window. The problem is that I can't see that copied header file in section header files in Application Project Window. If I create header file from scratch I will have see icon file in the project tree.
Comment 1 Thomas Preisler 2010-11-18 23:28:26 UTC
This is actually not a bug. Managed projects (Applications, Dynamic Libraries, Static Libraries) are using so-called logical folders meaning the folder layout you see in the Projects view don't necessarily reflect the physical file structure. Projects view is the logical view. Files view is the physical file structure view. What you want to do is to copy the file in the Projects view. If you do, you will see the file correctly shows up in the the logical folder you copy it to. If you copy the file in the Files view, the file is copied to the other physical folder but not added to the project. You can however always add any file to one of the projects by using the action Add Existing File from the the project's context menu (in Project View).