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 217925 - Recreate project created from binary
Summary: Recreate project created from binary
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project Discovery (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-06 06:50 UTC by obucinac
Modified: 2013-05-19 14:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Old files left in project (5.80 KB, image/png)
2012-09-10 08:18 UTC, obucinac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description obucinac 2012-09-06 06:50:00 UTC
It would be nice if we have a command to recreate project created from binary file.

In my scenario, I am using project created from binary file to enable comfortable debugging. However, my binary files change daily, and not always by me. Sometimes these changes include moving source code files and folder. Or using new library. When this happen, my project becomes unusable, since it points to invalid file locations, or do not point to a new library used in executable, and then I have to create a new project and apply my settings. This becomes annoyance when you have to do it many times daily.
Comment 1 Vladimir Voskresensky 2012-09-06 09:38:18 UTC
Try the following: right click on project
->Code Assistance
->Configure Code Assistance...
->Advanced mode
Use Explore Executable or library File choice

Does it work for you?
Comment 2 obucinac 2012-09-10 08:16:50 UTC
No, it is not. This does not remove source files which are not used anymore in executable, and will not add new ones. I believe the method you suggest will only update include paths, but it will not update the list of files in project. What I have in mind is not just updating include paths, but also updating the list of C/CPP files and libraries used to build the executable, by removing those not used anymore and adding new ones.
Comment 3 obucinac 2012-09-10 08:18:56 UTC
Created attachment 124084 [details]
Old files left in project

A detail from a project tree, showing files which are moved to another folder.