Steps to reproduce:
- Set up a remote host with smart secure copy synchronization.
- Set this host for a project, compile and run it. Everything is ok.
- Change sync to "Sharing" for this project
- Make changes in code and try running it - changes aren't reflected in build
Also, changing path mapping has no effect after that.
The reason is that PathMap is cached in RemoteHostInfoProviderFactory, so FixedPathMap sticks forever (until IDE restart).
The workaround: restart IDE
fixed in cnd-main:
Integrated into 'main-golden', will be available in build *200912100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Vladimir Kvashin <email@example.com>
Log: fixed #178300 - After changing sync from Smart Secure Copy to Sharing, changes in code aren't reflected on remote host
*** Bug 178936 has been marked as a duplicate of this bug. ***
verified in trunk build 201001120200
The fix has been ported into the release68_fixes repository.
fix failed in patch1 candidate 20100126 build.
It seems that the provided changeset was wrong.
I'm sorry, I provided a wrong changeset.
The proper one is
The fix http://hg.netbeans.org/release68_fixes/rev/e76e9e54aa7e has been rolled back from the release68_fixes repository.
The fix 8d97333d8b6b has been ported into the release68_fixes repository.
verified in patch1 build 20100128