Skip to main content
June 11, 2010
Answered

CF9 + CFBuilder locking files

  • June 11, 2010
  • 1 reply
  • 1120 views

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?

This topic has been closed for replies.
Correct answer Adam Cameron.

Yep, I've had this.  It seems to be only with CFC files.  It's a right PitA (and seems unnecessary to me).

--

Adam

1 reply

Adam Cameron.Correct answer
Inspiring
June 13, 2010

Yep, I've had this.  It seems to be only with CFC files.  It's a right PitA (and seems unnecessary to me).

--

Adam

June 14, 2010

At least I'm not the only one.  Is there a bug reporting site for CFBuilder similar to http://cfbugs.adobe.com/ for ColdFusion?

Inspiring
June 14, 2010

At least I'm not the only one.  Is there a bug reporting site for CFBuilder similar to http://cfbugs.adobe.com/ for ColdFusion?

Yep: http://cfbugs.adobe.com/bugreport/flexbugui/cfbugtracker/main.html

I thought I had already raised this as an issue, but seemingly not.  Be my guest... I'll vote for it...

--

Adam