CFEclipse 1.3 Beta and FlexBuilder

I know this is not reporting related, but I think it's pretty darn important.

At CFUnited this year, the CFEclipse team announced their beta version 1.3. It included a lot of cool new things, bug fixes, and the like. But there was a problem: it didn't work on Eclipse 3.1 (the core of FlexBuilder). And the flex builder stuff didn't work on 3.2. So you were stuck working in two different environments *again*.

Have no fear, my friends, the answer to your troubles has arrived. It was annoying me quite a bit, so I decided to do something about it (with Mark Drew's and the CFEclipse guys permission of course). Anyways, to make a long story short, CFEclipse 1.3 is now compatible with Eclipse 3.1. I sent the version to Mark and he updated the CFEclipse beta download page with the new version.

Geesh, there's like numbers, numbers flying everywhere.

So, if you're using FlexBuilder, and you know you should, and you want to use the updated CFEclipse functionality that Mark has worked so hard on, go here and download the updated version. The instructions at the bottom say that it doesn't work in 3.1, but this is no longer true.

So, for those of you who have not used CFEclipse yet, you probably should :-). Version incompatiblity is no longer an excuse!

Comments
Thank you for making CFEclipse work on Eclipse 3.1!
# Posted By hua | 10/12/06 10:01 PM
not a problem :-)
# Posted By Dean Harmon | 10/12/06 10:53 PM
It would still be nice if FlexBuilder was compatible with the latest version of Eclipse and they remained compatable with newer releases to show their commitment to keeping up with the enhancements of the new platform. But that is a discussion for another day. Great job getting these things to play nicely together in 3.1.
# Posted By Kevin Benore | 10/12/06 11:19 PM
sweet. thanks a ton!
# Posted By PaulH | 10/13/06 3:36 AM
Nice!

However, after updating, I lost most of my CFML and HTML code coloring.

Anyone else having this issue or a solution?
# Posted By Scott Stroz | 10/13/06 11:44 AM
Installed. CFEclipse perspective showed up and file icons where correct. But no code hints or color coding on new cfm pages
# Posted By David Farr | 10/13/06 2:09 PM
Did you guys have the previous version of CFEclipse installed? It it possibly *still* installed? (you can check by looking in the plugins directory of eclipse. There should only be one jar file with the prefix org.cfeclipse.cfml*. If there is one in there called com.rohanclan.* you will need to delete that one.
# Posted By Dean Harmon | 10/13/06 2:14 PM
Had not installed CFEclipse before. Have been using Eclipse with CFEclipse plugin for my cf work. I am using the Flex Builder stand alone and not the Flex plugin for Eclipse.
# Posted By David Farr | 10/13/06 3:34 PM
Same here with a completely virgin copy of Eclipse (I'm putting together a "base" Eclipse configuration for distribution to my dev team) - no highlighting or code completion.
# Posted By Doug Bezona | 10/13/06 4:01 PM
Hi Dean,

I have tried two machines and getting the color coding problem that other have mentiioned above. These are fresh installs.
# Posted By Mike Kollen | 10/14/06 3:15 AM
Hi There.

If people are having problems with seeing the plugin, the main way that you can get over this is by going to the command line and starting eclipse by doing "eclipse -clean". This will force a re-load of your plugins. Another thing to check (if you havent done the above) is it check under the Help -> About SDK -> Plugin-Details. You should see an entry at the bottom (usually) with The CFEclipse Crew and the plugin (should be version 1.2.9)

If that hasnt worked, check that you have installed the plugin correctly. In this instance you download it from cfeclipse.org/beta, you will get a zip file, that when you unzip you will get a plugin directory created, look in there and move the .jar file into the plugins directory under eclipse.

If all these dont help, shoot me an email at mark dot drew at gmail (guess the rest)
# Posted By Mark Drew | 10/16/06 2:54 AM
It's not an issue of the plugin not loading - the perspective is available, the various views are there, etc. There is just no code highlighting or tag insight in the editor.
# Posted By Doug Bezona | 10/16/06 8:04 AM
I am also noticing the issue with color coding. I used the -clean switch when executing Eclipse. I checked for any references to rohan in my plugin directory.
# Posted By Teddy R Payne | 10/16/06 2:34 PM
All the issues have been fixed, I have posted a new build of it over at www.cfeclipse.org/beta.

You will need to move any folder with com.rohanclan.cfml* or jar with org.cfeclipse.cfml* and replace them with the extracted contents of the new download.

I hope this fixes all the issues!
# Posted By Mark Drew | 10/17/06 12:28 PM
Well, sadly it doesn't seem to work anymroe with FlexBuilder.

http://url.rickroot.com/u/n

The perspective works but I can't actually open the CFMLeditor...

java.lang.NullPointerException
at org.cfeclipse.cfml.editors.CFMLEditor.initializeEditor(CFMLEditor.java:311)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.<init>(AbstractDecoratedTextEditor.java:216)

etc etc....
# Posted By Rick Root | 5/16/07 10:28 AM
Rick, could you send me the full error log please and I shall have a look at this?
# Posted By Mark Drew | 5/16/07 10:48 AM
I'm having the same problem on mine. I installed the newest trial of Flex 2.01, followed by cfeclipse 1.3.1.4, then followed by the extensions. Changed my workspace, and it loaded my existing coldfusion/flex application wizard app. No problems. Went into change add an additional master/details page, hit finished and then it stalled for about an hour. Forced restart. Then when i reloaded i got a funky error message in my Problems box saying: configuration variable 'compiler.context-root' must only be set once. Redid my changes in the wizard again, and saved changes just fine. Ran app even with error... no problems. But then.... went into my preferences and set up my RDS so it wouldn't ask me for my password (applied, no problems there), clicked on CFeclipse to see my options and got another funky message: Unable to create the selected preference page "org.cfeclipse.cfml.preferences.CFMLPreferencePage". Once this happened i now see 2 CFEclipse in my Find/Install wizard of which i cannot delete either one. Not only that but i can't even disable them cuz i tried to install version 1.3 just to see if that would go. No Dice! But the real kicker now that is hurting me is that when i go into my CF/Flex wizard and try to alter my project i get no response when i try to create/edit of my items. I can add them to the navigation but i can't get into the actual query browser that provides all the DB options. I"m working on finishing up a huge project that is completely generated by this wizard. Can anyone help?
Thanks in advance,
David
# Posted By David | 6/1/07 4:56 AM
I'm also having the problem with installing cfeclipse...here is the error message i get when I try to open up a cfc through flex builder.

CFEclipse - 1.3.1.4
FlexBuilder 2.0.1

Unable to create this part due to an internal error. Reason for the failure: The editor class could not be instantiated. This usually indicates that the editor's class name was mistyped in plugin.xml.

java.lang.NullPointerException
   at org.cfeclipse.cfml.editors.CFMLEditor.initializeEditor(CFMLEditor.java:311)
   at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.<init>(AbstractDecoratedTextEditor.java:216)
   at org.cfeclipse.cfml.editors.CFMLEditor.<init>(CFMLEditor.java:253)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:162)
   at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
   at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
   at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
   at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
   at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236)
   at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:252)
   at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:842)
   at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:562)
   at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
   at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
   at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
   at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
   at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
   at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
   at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
   at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:120)
   at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:326)
   at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:650)
   at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:409)
   at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
   at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
   at org.eclipse.core.runtime.Platform.run(Platform.java:783)
   at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
   at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
   at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
   at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
   at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
   at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
   at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
   at com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:103)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
   at org.eclipse.core.launcher.Main.run(Main.java:973)
   at org.eclipse.core.launcher.Main.main(Main.java:948)
# Posted By Kevin | 6/5/07 12:46 PM
Kevin,
Yup i've had the same thing happen to me. What i did was downloaded the newest version of Eclipse, updated all of its components via the help > software updates menu, then installed flex 2.01 as a plugin. Once that was done i haven't had any problems with but a nullpointerexception error as well. I fixed that one by double-checking my run settings and where the files are saved, output, etc. I also deleted the file and then created a new one with my existing files. Try a clean as well, if any errors are found it won't regereate your html and swf files until you fix them, and its been pretty clear with me on what those errors were in the error window.
Hope this helps.. i feel your frustrations. :)
Take care,
David
# Posted By David | 6/5/07 7:04 PM
David,
I have the same problem like Kevin, I have flexbuilder 2.0.1 and install CFeclipse now I can't see any cfc and different erros like Kevin.
How can I download new version of eclipse? How do I know witch version do I have?
Can you help me please?
This is very very frustrate it :)
Tks

Johnny
# Posted By Johnny | 7/11/07 11:18 AM
I want to prtray the difference between CFEclipse and CF Extensions
The Adobe CF Extensions is essentially an updated version of the old RDS functionality found in the old CFStudio and Homesite 5+ but also includes a host of new code generation features to make development quicker:

* Eclipse RDS Support plug-in, which lets you access files and data sources on a ColdFusion server.
* ColdFusion/Flex Application wizard, which lets you create master and detail pages in an application to create, read, update, and delete records in a database.
* ColdFusion/Ajax Application wizard, which lets you create master and detail pages that use Ajax elements in an application to create, read, update, and delete records in a database.
* RDS CRUD wizard, which lets you dynamically create a ColdFusion component (CFC) based on a table that is registered in the ColdFusion Administrator on a ColdFusion server
* ActionScript to CFC wizard, which lets you create a CFC based on an ActionScript class file.
* CFC to ActionScript wizard, which lets you create an ActionScript file based on a CFC Value Object
* Services Browser, which lets you browse CFCs, manage a list of web services, and generate the CFML code to invoke a web service.
* Log Viewer, it works like the Unix tail function (thanks, hit tip to Ray)

CFEclipse is your ColdFusion IDE for writing your CF markup, it supports

* Wizard's for common tasks such as creating a CFC
* Code Insight
* Code Folding
* Task List
* Tag Completion
* Syntax Highlighting
* CFComponent, a collapsable tree format of methods and properties in your CFC's
* Methods View, an overview of the methods in your current CFC
* Dictionary, get quick access and look-up features to CF[8|7|6|5], Railo, and BlueDragon[7|6] documentation
* Snippets, create pre-defined code blocks which can be accessed via key triggers
* CFUnit for unit testing you CFC'c without leaving your development IDE
* Frameworks Explorer to access and view your xml configurations files
Mazda tie rodeEnd -http://www.automotivemazparts.com/mazda-tie-rod-en...
# Posted By Sharon | 9/28/07 3:26 AM
Thanks for help, Keep up the good work.
# Posted By Usb flashdrive | 10/1/07 3:30 AM
Interesting article!
Thanks
# Posted By Pendrive | 10/2/07 3:27 PM
thanks.It is very useful to me.
# Posted By porty | 10/27/07 7:40 PM
you guys know where to download the new version of eclipse?
# Posted By jom | 1/4/08 2:05 AM
for those who don't know or understand what CFEclipse is, i'ts for creating aplugin for the Eclipse platform that provides a professional quality IDE for CFML developers. Currently the CFEclipse plugin is one of the top rated Eclipse plugins at http://www.eclipseplugincentral.com and is in use by developers across the globe. CFEclipse offers most of the features found in traditional CFML editors and quite a few more that they don't. As well as allowing developers to take advantage of the wealth of other Eclipse plugins, CFEclipse comes with a developer friendly price tag.It's FREE!
# Posted By mike | 1/4/08 2:09 AM
Unfortunately, there's no CFEclipse install/setup wizard like you'd find in many other products such as Dreamweaver or ColdFusion. So the first step in setting up CFEclipse is to download Eclipse. First you need to install Eclipse and then you'll have to install the CFEclipse plug-ins. You can download Eclipse from the Eclipse.com web site at www.eclipse.org/downloads/. http://www.autopartswarehouse.com/shop_parts/heate...
Eclipse is unique compared to any other product I've used in having a no-install install. Once you unpack the file you downloaded (I grabbed a Win32 zip, however. tar and gz options also exist), the product is installed. That's all you need to run the program. There are no ini files and no registry installs. You're good to go. I unzipped the zip into a directory called "C:\Eclipse."
# Posted By lanaya | 1/4/08 2:13 AM
This is so buggy!! I had to manually remove the last version because it simply doesn't work. this was the error: java.lang.ClassNotFoundException: org.cfeclipse.cfml.editors.CFMLEditor .

I installed an older version (1.3.1.3), after a bunch of problems i finally just dropped the jar file to the plugind folder. Now i can open the cfeclipse perspective , but the editor marks as unknown several cf tags and show errors on cfcomponent, cffunction, cfif etc..
Buggy.
# Posted By marcelo | 1/6/08 1:14 PM
Thanks
# Posted By emo | 1/27/08 9:40 AM
Thnax on that,I have here some update on CMFX and Apache,hope this would serve to be helpful..=)
CFMX on IIS and Apache2 on the same machine

Well with a new machine in the works for my company i've been thinking about running Apahce (on windows) for our server. Anyway what with mappings etc i really wanted to give this a bash at home first. At first i thought this was gonna mean me, notepad and a bunch of text files had to get friendly. Actually its couldn't of been easier thanks to CF.

* Download and install Apache. I needed to change the port to 81 so it didnt interfere with IIS which meant i changed the "Listen" port to 81 in the httpd.conf file
* Edit C:\CFusionMX\bin\connectors\Apache_connector.bat to look at "apache2" folder instead of "Apache". Then run the bat file.
* Restart Apache and all is well, easy.


Do remember though that they are using the same CF engine. If you have the enterprise version you could most likely set up a different instance for each web server, but i dont so i can't ;o(

Afterthought:If you want to administer CF from Apache then you will need to add the following to the fireplace screensaver -ScriptAlias section of httpd.cong

_________________________________________________
http://fixturesandfurnitures.com/fireplace-screens...
# Posted By msgr112 | 1/27/08 11:27 PM
I'm having the same problem on mine. I installed the newest trial of Flex 2.01, followed by cfeclipse 1.3.1.4, then followed by the extensions. Changed my workspace, and it loaded my existing coldfusion/flex application wizard app. No problems. Went into change add an additional master/details page, hit finished and then it stalled for about an hour. Forced restart. Then when i reloaded i got a funky error message in my Problems box saying: configuration variable 'compiler.context-root' must only be set once. Redid my changes in the wizard again, and saved changes just fine. Ran app even with error... no problems. But then.... went into my preferences and set up my RDS so it wouldn't ask me for my password (applied, no problems there), clicked on CFeclipse to see my options and got another funky message: Unable to create the selected preference page "org.cfeclipse.cfml.preferences.CFMLPreferencePage". Once this happened i now see 2 CFEclipse in my Find/Install wizard of which i cannot delete either one. Not only that but i can't even disable them cuz i tried to install version 1.3 just to see if that would go. No Dice! But the real kicker now that is hurting me is that when i go into my CF/Flex wizard and try to alter my project i get no response when i try to create/edit of my items. I can add them to the navigation but i can't get into the actual query browser that provides all the DB options. I"m working on finishing up a huge project that is completely generated by this wizard. Can anyone help?
------------------------------------------------------------------------------------------------------------
http://www.automotive-repair-manual.net/
# Posted By adum | 2/4/08 10:09 AM
thank you good
# Posted By oyun | 2/19/08 8:55 AM
Where to download the new version of eclipse? Who is going to help me?
# Posted By genç k?zlar | 2/25/08 6:08 PM
i can't get into the actual query browser that provides all the DB options. I"m working on finishing up a huge project that is completely generated by this wizard.
# Posted By iyinet webmaster forumu 2008 seo yar??mas? | 3/3/08 10:41 PM
I"m working on finishing up a huge project that is completely generated by this wizard.
# Posted By travesti | 3/5/08 12:48 PM
I"m working on finishing up a huge project
# Posted By transseksuel | 3/5/08 12:49 PM
It's not an issue of the plugin not loading - the perspective is available, the various views are there, etc. There is just no code highlighting or tag insight in the editor.
# Posted By Gothic Forum | 4/4/08 10:01 AM
How can I download new version of eclipse? How do I know witch version do I have?
# Posted By resimler | 4/16/08 3:53 PM
i can't get into the actual query browser that provides all the DB options. I"m working on finishing up a huge project that is completely generated by this wizard.
# Posted By performans ödevi | 4/16/08 3:54 PM
Afterthought:If you want to administer CF from Apache then you will need to add the following to the fireplace screensaver -ScriptAlias section of httpd.cong
# Posted By tv izle | 4/16/08 3:55 PM
Excellent write-up, thanks a bunch for posting this!
# Posted By Web Designer | 5/1/08 4:54 PM
Thanks for the tutorial, any update for the new version?
# Posted By Play Super Mario | 5/5/08 4:56 AM
thank verry good
# Posted By assos | 5/8/08 8:58 AM
Thanks for the article.
# Posted By Bahamut | 5/9/08 1:21 AM
I believe that some caveats need to be given to both sides before anyone jumps to conclusions about it being the latest example of quackery
# Posted By jigolo | 5/11/08 11:09 AM
Attention everyone:
Softpress Systems on Thursday announced the release of Freeway 5.1, a new version of its Web design software for Mac OS X. A free update for 5.0 users, Freeway is available in Express and Pro versions for $79 or $249 respectively.


See source from - http://www.macworld.com/article/133370/2008/05/fre...
brochure printing - http://www.squidoo.com/brochure-printing
# Posted By Rochelle | 5/12/08 9:48 AM
Thanks on that update
# Posted By craig | 5/13/08 2:00 AM
harika bir paylasim olmu? tesekkür ederiz umar?m daha iyileride ç?kar bide ?una bak?n nas?l güzelmi fikirlerinizi bekliyorum. very thanks
<a href="http://www.Aylak.com">Oyun</a>" target="_blank">http://www.Aylak.com">Oyun</a>; | <a href="http://www.Aylak.com">Okey</a>" target="_blank">http://www.Aylak.com">Okey</a>; | <a href="http://Sinema.Aylak.com">Sinema</a>;

See source from http://www.Aylak.com
# Posted By Oyun | 5/14/08 3:29 PM
Thanks for the article
# Posted By chris brown | 5/16/08 11:02 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.