IdeaAndNTFSLinks 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic IdeaAndNTFSLinks (r1.2 - 15 Mar 2004 - GlenStampoultzis)
Added:
>
>


I had the same problem. I've had other programs run into trouble with NTFS links so I stopped using them. Life is too short.

-- GlenStampoultzis - 16 Mar 2004


 <<O>>  Difference Topic IdeaAndNTFSLinks (r1.1 - 11 Mar 2004 - AlexeyEfimov)
Added:
>
>

%META:TOPICINFO{author="AlexeyEfimov" date="1079011680" format="1.0" version="1.1"}%

IDEA and NTFS links troubleshooting

Problem description

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.

Problem resolution

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


View | Diffs | r1.2 | > | r1.1 | More

e d i t a t t a c h r e f - b y d i f f s
Ideas,requests,problems regarding this site? Send feedback.
Copyright @ 2000-2003 by the contribution authors. All material on this collaboration tool is the property of the contributing authors.

Revision r1.1 - 11 Mar 2004 - 13:28 GMT - AlexeyEfimov
Revision r1.2 - 15 Mar 2004 - 22:10 GMT - GlenStampoultzis
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding this site? Send feedback.