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 177444 - Clean and Build breaks code assistance in project
Summary: Clean and Build breaks code assistance in project
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 08:21 UTC by soldatov
Modified: 2009-11-25 16:54 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 soldatov 2009-11-23 08:21:32 UTC
Ubuntu 9.04

Scenario:
- Unpack http://personal.inet.fi/koti/rkauppila/projects/life/qlife-qt4-0.9.tar.gz project
- Push File|New Project... menu item
- Select 'C/C++ Project with Existing Sources' and press Next button
- Add path to sources files into first field. Select Automatic mode.
- Press Finish button
- Wait parser will finish
- Open lifedialog.cpp file
==> parser analyze this file ~30 seconds
- Clean and Build project
==> a lot of invalid identifiers in lifedialog.cpp ("Code Assistance|Reparse Project" menu item doesn't fix the unresolved identifiers and missed #include in project)
Comment 1 Vladimir Voskresensky 2009-11-24 02:09:44 UTC
Please, evaluate
Comment 2 Alexander Simon 2009-11-24 03:29:47 UTC
Problem in delete/create project item.
At build time file system inform that:
- "moc_lifedialog.cpp" is deleted
- "moc_lifedialog.cpp" is created
It right.
Expected:
- project system should keep item properties.
Actual:
- project system clear  item properties.
As result code assistance is broken.

Work around:
- Configure project for folder/project level

It is a common problem for (re)generated project file items (if item has not empty configuration).
Comment 3 Alexander Simon 2009-11-24 07:00:52 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/2c0282a0d58e
Comment 4 Quality Engineering 2009-11-25 16:54:53 UTC
Integrated into 'main-golden', will be available in build *200911251400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2c0282a0d58e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed BZ#177444 Clean and Build breaks code assistance in project