> > |
%META:TOPICINFO{author="AlexeyEfimov" date="1079011680" format="1.0" version="1.1"}%
IDEA and NTFS links troubleshooting
Currently idea use FileWatcher native code to listen changes in FS. Then change event is fired from FS, then Idea reload scope of event source.
If you will use NTFS link, then event notification will have source of not the same directory as project, and FileWatcher can't be worked ok.
For example:
You have current project directory:
%HOME%/projects/current
But, you have cvs branch for your current project. And you need to fast swich between project branches:
%HOME%/cvs/myProject.v1
%HOME%/cvs/myProject.v2
%HOME%/cvs/myProject.v3
Then you create NTFS directory link by linkd tool from Resource Kit.
cd %HOME%/porject/current
linkd . %HOME%/cvs/myProject.v2
And open IDEA from folder %HOME%/projects/current.
If you cnage some files (or create ne files) under directory current, then IDEA will no get notification event, becouse in really changed directory %HOME%/cvs/myProject.v2, but not %HOME%/projects/current.
You must turn off FileWatcher or not use NTFS links...
To turn off FileWatcher, please add to JVM parameters in idea.lax (or idea.bat, idea.sh) file follow argument:
-Dfilewatcher.disabled=true
-- AlexeyEfimov - 11 Mar 2004 |