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.
Prerequisite - create a makefile based project on some Solaris host using "OSS express" or "GNU" tool collection Steps to reproduce: - add the remote host - import the project - open project properties, tool collection is set to "OSS (default)" instead of tool collection chosen in the original project!!! - choose "OSS express" or "GNU" tool collection like in the original project and press OK Result: Warning window with a message that access to some file denied may appear. Source folder disappears and the code model gets broken (system includes can not be found any more).
I believe this is fixed by http://hg.netbeans.org/cnd-main/rev/409f140fce69
Integrated into 'main-golden', will be available in build *201103060000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/409f140fce69 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixing #196302 - Changing tool collection in full remote project hide sources and break code model
It's still reproducible on Windows.
I was finally able to reproduce this.
Created attachment 106972 [details] Fix prototype The reason is understood, here is the proposed fix. However I need to review and test it prior than pushing.
Fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/0c6dc46145ed
verified in dev build #4974
Change set 0c6dc46145ed correct and safe.
Integrated into 'main-golden', will be available in build *201103160400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0c6dc46145ed User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fix for #196302 - Changing tool collection in full remote project hide sources and break code model
Changesets integrated to release70: http://hg.netbeans.org/releases/rev/c38b3f498667
verified in RC1 build 20110317