Project files on network drive - "synchronizing files"

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
(see
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=5&externalID=192&fromSearchPage=true )
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?


1 comment

Just a note here... I never found a good solution to having a large project
on a network drive.

The only solution I could find requires the project to run locally and using
the project "Packaging Method" to output the altered build files back to the
network drive. This still requires two copies of the project files.

The other weird alternative is to use the Windows function "Make Available
Offline," but again that requires the project to run locally.

If anyone has a better way to make this work, please help me out.


"Neil Yalowitz" <neilyalowitz@gmail.com> wrote in message
news:fmg3hc$msh$1@is.intellij.net...

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 (see
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=5&externalID=192&fromSearchPage=true )
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?



0

Please sign in to leave a comment.