[Looking for Charlie's main web site?]

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:

[....Continue Reading....]

Comments
Charlie, have you run into issues where CFBuilder creates a new Eclipse workspace in the same directory as the file you open? I saw this and it annoyed me enough that I disabled the "Open with CFBuilder" feature.
Hi Nathan, do you mean the appearance of files like .project in the directory?

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?
Hi Charlie, I can't seem to reproduce the issue, so it must have been fixed. Do you know, can you associate CF files with CFBuilder in the extension configuration? (Not the stand alone installation.) Thanks!
Nathan, I have installed a base Eclipse and installed CFB as a plugin. Sadly, no, with that configuration, Eclipse does indeed try to open a 2nd workbench (which of course can't share the same workspace).

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.
Thanks for checking into this. (I was going to test further myself just haven't had the time yet.)
Since I've installed CFBuilder, I'm able to open external files without it launching a separate workspace, _but_ opening the file does cause the minimization on my CFBuilder window to toggle. For example, if I have CFBuilder open, and I open an external file, CFBuilder will minimize to the tray. Opening a second external file causes reverse this effect. Running under Windows XP.

Anyone had similar issues?
# Posted By Joe H | 4/21/10 5:22 PM
@Joe H, I can only say that no, I don't have that issue. I just checked again, and it does not minimize. I can't think what would cause that, but since the ability to open files from outside the IDE is unique to CFBuilder (never been able to work in other Eclipse builds without it opening a whole new workbench), I don't know how you can solve that, other than bring it to Adobe's attention on the forums. Sorry I can't offer more (perhaps others will chime in, but I have my doubts).
I installed CF Builder (1.0) as a standalone install and after updating (Update 1) it's as if CF Builder was installed as a plugin. Anyone else have this issue?
# Posted By Chris Pittillo | 6/3/10 12:18 PM
@Chris, I don't understand what you mean. If CFB was standalone, there would be a program to start called CFB. If CFB is installed as a plugin, you do that on top of an Eclipse installation that you install yourself. There's just no way that the CFB updater could change standalone CFB to Eclipse with CFB as a plugin.

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?
I didn't have Eclipse installed and I removed the CFB beta before I installed CFB 1.0

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.
# Posted By Chris Pittillo | 6/3/10 1:58 PM
Wow, interesting. So to be clear, it is still cfbuilder.exe (so not standalone Eclipse, per se), but I hear you saying that for all intents and purposes it appears that way. That's odd.

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.
Yes, the CF perspective is visible and working.

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).
# Posted By Chris Pittillo | 6/9/10 2:46 PM
Well, Chris, about your last point, if the operating system file association does indeed still associate cfm files with cfbuilder.exe, then that's as it should be. If it doesn't open in a new tab then, I'd suspect it's part of your ongoing observation that after doing the update, it's somehow changed your standalone CFB into just standalone eclipse, despite the filename. Very odd.

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.
A different issue with opening external files. I have CS4 installed on my mac as well as CFBuilder and FlashBuilder. .cfc and .cfm files were associated with Dreamweaver. I tried to use the finder to associate them with CFBuilder and it was not a recommended program but I chose it anyway. OS X associated the file types with FlashBuilder instead. Not the end of the world, but can anyone shed some light?
# Posted By Jim O'Keefe | 6/2/11 11:20 AM
Copyright ©2024 Charlie Arehart
Carehart Logo
BlogCFC was created by Raymond Camden. This blog is running version 5.005.
(Want to validate the html in this page?)

Managed Hosting Services provided by
Managed Dedicated Hosting