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.
Summary: | Remote code model never gets notification when a header is created or changed externally | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Remote | Assignee: | Vladimir Kvashin <vkvashin> |
Status: | NEW --- | ||
Severity: | normal | CC: | ilia |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
test
proposed fix |
Description
Vladimir Kvashin
2014-12-26 12:47:55 UTC
Created attachment 151844 [details]
test
Created attachment 151845 [details]
proposed fix
Test and proposed fix are attached. However indexing api does not work properly with remote. So I had to add System.setProperty("cnd.use.indexing.api", "false") to test (And IDE behaves properly only with -J-Dcnd.use.indexing.api=false) I'm going to investigate indexing api better and file a bug against it. This makes me doubt that it's really a candidate for patch. fix (cnd part) pushed into cnd-main: http://hg.netbeans.org/cnd-main/rev/348fa1aecc02 test: http://hg.netbeans.org/cnd-main/rev/ec836ed5484f NetBeans indexing part still is not fixed. Integrated into 'main-silver', will be available in build *201502080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/348fa1aecc02 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixing #249533 - Remote code model never gets notification when a header is created After issue 251101 has been fixed, this is not the case. However I'm not closing this issue because this should be solved not via adding file listeners for remote files, but via fixing indexing api. For now indexing api does not react on file events in remote file system. So I'm going to file an issue against indexing api, and as soon as it is fixed, switch back to indexing api for remote as well and then close this issue. |