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 180794 - Remote host is not configured if it's added from project properties
Summary: Remote host is not configured if it's added from project properties
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
: 180780 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-16 08:35 UTC by Alexander Pepin
Modified: 2010-02-17 21:57 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 Alexander Pepin 2010-02-16 08:35:40 UTC
Steps to reproduce:
- create local Welcome sample
- open project properties build section
- press [...] button next to "Development Host"
- add a remote host, it's added successfully tools collections found
- try to choose newly added host from the list of Development Hosts
Result: A newly added host has "Not configured" mark. Indeed if user opens Tools->Options->C/C++ window and select the remote host then no tool collections are shown.
Comment 1 Vladimir Voskresensky 2010-02-16 08:56:22 UTC
looks like dup of bug 180780
Comment 2 Alexander Pepin 2010-02-16 09:09:27 UTC
Indeed it's just the first part of scenario from bug #180780 but in my opinion this bug describes the original problem whereas 180780 is a consequence, namely incorrect handling of the wrong situation which could be caused by different actions.
Comment 3 Vladimir Voskresensky 2010-02-16 09:17:28 UTC
*** Bug 180780 has been marked as a duplicate of this bug. ***
Comment 4 Vladimir Voskresensky 2010-02-16 11:47:58 UTC
Vladimir, 
can you handle this issue.
service of managing hosts by providing panel to DevelopmentHostCustomizer is used but DevelopmentHostCustomizer does not use passed cacheManager => it doesn't applyChanges
Comment 5 Vladimir Kvashin 2010-02-16 17:04:42 UTC
fixed in cnd-main
http://hg.netbeans.org/cnd-main/rev/d0b0f2e2121c
Comment 6 Vladimir Voskresensky 2010-02-16 17:19:21 UTC
unfortunately it is not enough.
it corrupts previously configured hosts :-(
start with clean userdir add manually toolchain to localhost 
then proceed with scenario in this issue => 
Tools->Options->C++
localhost modifications are erased
Comment 7 Vladimir Kvashin 2010-02-17 04:11:40 UTC
http://hg.netbeans.org/cnd-main/rev/9c9378938246
Comment 8 Quality Engineering 2010-02-17 21:57:49 UTC
Integrated into 'main-golden', will be available in build *201002180200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d0b0f2e2121c
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #180794 -  Remote host is not configured if it's added from project properties