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 225510 - Wrong Code model behavior for remote build host of Freeway Simulator sample
Summary: Wrong Code model behavior for remote build host of Freeway Simulator sample
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 07:21 UTC by Alexander Simon
Modified: 2016-10-31 10:16 UTC (History)
2 users (show)

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 Alexander Simon 2013-01-30 07:21:20 UTC
Steps to reproduce:
- create Freeway Simulator sample
- set remote build host
- wait parsing finished
- make sure that there is no unresolved include directives
- restart IDE
First bug:
- IDE reparse project with wrong include paths
Connect to remote host. Second bug:
- IDE does not reparse project with right include paths
As result project has unresolved include directives and user need to manually reparse project.
Comment 1 Vladimir Voskresensky 2013-01-30 07:23:34 UTC
is it the consequence of the fixed bug http://netbeans.org/bugzilla/show_bug.cgi?id=225507?
Comment 2 Alexander Simon 2013-01-30 07:26:54 UTC
(In reply to comment #1)
> is it the consequence of the fixed bug
> http://netbeans.org/bugzilla/show_bug.cgi?id=225507?
Yes, you are right.
The service wrongly connect to remote.
The behavior was fixed.
Code model should revalidate model on connection.
Comment 3 Vladimir Voskresensky 2013-01-30 13:08:19 UTC
We need to discuss this. It's not code model responsibility to know that some include paths are result of pkg-config like expansion activity. So notification should be from the layer who has such knowledge.
Important thing is that we have to prevent reparse, just because of reconnect in cases, when pkg-config based are really already in local cache of remote files. May be pkg-config includes provider should return previously known list of include paths and in case of connect should check the new paths and send notification if information was changed.
Comment 4 Maria Tishkova 2014-11-21 14:32:19 UTC
Alexander, Volodya,

please take a look in this release

==Masha