CFBuilder tip: Opening a file from outside the editor works as you'd expect!
Note: This blog post is from 2009. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.I want to start sharing some tips for working with CFBuilder. Most will be oriented toward those new to it, who had not used (or stuck with) CFEclipse before, but this one may surprise even those folks.
In Brief:
It's safe now to have CFBuilder set as the default program for all CFM and CFC files. Opening a file from outside the editor (when you already have CFBuilder open) will NOT open an entirely new copy of CFBuilder (as it did with CFEclipse). It will just open a new tab in the editor already open, as you'd expect. (This applies only to the standalone edition of CFBuilder, not the plug-in version.)
Explanation:
The good news is that I can confirm that's not happening with the public beta build. I just tested it, opening a file in a directory where I could see what files were there, before and after opening a file and even closing CFBuilder.
Perhaps it happened in earlier betas and I'd not noticed it. In fact, now that you mention it, I am finding them in various places (with older dates on them). Perhaps that was a facet of how things worked in Eclipse (whether in Bolt, FlexBuilder, or other Eclipse implementations) before the CFBuilder team resolved the problem.
Let me know if this is what you meant and indeed if the problem is resolved for you now. BTW, one doesn't need to have chosen that option during installation to test this. In Windows at least, you can just right-click a cfm file (in Windows Explorer or My Computer) and choose "open with" to pick CFBuilder. When it opens the file, do you see the remnants in its directory?
So this feature described above is for the standalone version only. I'll modify the blog entry to clarify that for those who many not read comments. :-) Thanks for asking.
Anyone had similar issues?
I suppose it's possible, though, that you previously had both CFB and Eclipse. I have heard that the CFB updater updates the last one installed. I suppose if you had CFB on Eclipse as a plugin, then it would update that.
Even so, that's not quite "CFB standalone being turned into a plugin". Does this help at all?
After installing Update 1 (prompted by the Adobe Updater) when I launch CFB (from C:\Program Files (x86)\Adobe\Adobe ColdFusion Builder\CFBuilder.exe) the Eclipse splash screen appears and the title bar of the program has the Eclipse icon and says "Eclipse Platform"
I'm considering deactivating, uninstalling and reinstalling to see if that makes a difference.
So first, if you try to change perspectives (Window>Open Perspective>Other), does it list ColdFusion at all? If not, then that's really odd. If it is there and you select it, are things back to as you'd expect?
That doesn't change it showing CFBuilder in the title bar, I realize, so something does sound odd. Still, can you open your past projects? Does the CF editor open? If so, at least then you may not need to uninstall/reinstall, but I can appreciate that you may want to.
It is indeed odd. I've not heard of it happening. Anyone else?
All that said, I'll again say that this thread is not the place for us to address any and all CF Builder problems. :-) That's really what the Adobe forum for it is for: http://forums.adobe....
Still, I'll look forward to the conclusion to your issue being shared here if you/others find it.
Also, today I uninstalled (and deleted any remaining files from the install folder) then reinstalled from the CD and after updating the same thing is happening again.
I know this is something that would be better posted on the Adobe forum however I originally posted here because when I try to open a cfm/cfc file from outside the editor it does not open in a new tab (a new instance of eclipse starts and says the workspace is in use).
I'm afraid this really is something you need to take to the Adobe forums, though. You're not getting any responses from others here, and I'm out of ideas. The Adobe team (and many others) do watch the Adobe forum, so hopefully they'd jump in to help (no guarantee, of course).
I'd be very clear in your description about how you had CFB working, did the update (CFB, not an Eclipse update) following the instructions from Adobe, and had this happen. And that an uninstall and reinstall worked, until again you applied the CFB update. Perhaps they may suggest other steps to follow.
(A common troubleshooting suggestion is to launch the program from the command line with the -clean option. In your case, cfbuilder.exe -clean. I'm not inclined to think that will help, since your initial install did work. But before you report to the forums you may want to at least try it and indicate if it still doesn't help.)
Hope you resolve it.