CF9 + CFBuilder locking files
Has anyone ever had a problem with CFBuilder locking files so that
they cannot be renamed, moved, or deleted? Perhaps I am web searching
with the wrong search terms but I'm not finding anyone else with this
problem.
This is annoying when I'm re-factoring code but it gets especially bad
on a Subclipse switch operation when trying to change from one branch
to another. It corrupts my entire working copy when SVN fails to
remove a file that doesn't exist in the other branch. Shame on SVN
for not recovering gracefully, shame on CFBuilder for not letting go
of the file after I closed it.
Sometimes I can get Builder to let go of the file by opening and
closing it several times. Other times I have to close CFBuilder
completely.
I'm using CF9.0 local server, CFBuilder 1.0.0.274293, Windows XP.
A friend suggested I try Unlocker (http://ccollomb.free.fr/unlocker/)
Unlocker shows these two handles on the file:
Process: CFBuilder.exe
Path locked: c:\my\file\islocked.cfc
PID: 548 Handle: 1276
Process Path: c:\Program Files\Adobe\Adobe ColdFusion Builder\CFBuilder.exe
Process: CFBuilder.exe
Path locked: c:\my\file\islocked.cfc
PID: 548 Handle: 3740
Process Path: c:\Program Files\Adobe\Adobe ColdFusion Builder\CFBuilder.exe
My SVN switch still choked but I've figured out the steps to recover once the file is unlocked (just run the switch again without trying to clean up the mixed version first). Now I can unlock the file(s) with unlocker.
This is still pretty annoying. How can I fix it?
