IDEA's "synchronizing files" background process lasts forever when I'm
connected via VPN to a mapped network drive.
I'm using Windows XP. The option "make available offline" (so the drive
should be cached locally) gives acceptable performance. However, once I
connect the VPN, start working with the network drive "online", do a Windows
synchronize, and startup IDEA, suddenly IDEA wants to synchronize everything
again. Upon startup, IDEA spins with "synchronizing files" and never seems
to stop. However, "working offline" defeats the purpose... I have to click
several times to get back into "working online" and wait for the changes on
my home machine to synch onto the mounted drive. I'm not even sure why it
wants to synchronize everything again, I don't think the timestamps have
changed. Actually, nothing changed. Why does it do this synch again?
According to other posts, I shouldn't have project files on a network drive
but that isn't acceptable. I need to keep a central location so I can work
at the office, at home, or on a laptop somewhere. I don't want to build/run
the project locally, I want to use a central location for that too. The
project is large, with a few thousand JAVA files and JSPs.
Using a network drive at the office is fine because my office machine is on
the LAN (very fast, less than 1ms latency). In the office, I keep the
network drive online at all times. I'm in hotkey heaven, and builds are
quick. It's awesome. When working from home or elsewhere, my temporary
solution is to connect via Remote Desktop into my office machine from home,
but that's an ugly solution (working through RDC isn't developing with
pleasure in my opinion).
It appears that IDEA caches are NOT on a network (storing in local Documents
folder), but the source files ARE. Is there any way to make this work?