Author Archive: Dipanwita Sarkar

The first CFB Updater is live! Go, get that fast!

I am sure many of you have been waiting for this for quite some time now. We have news to cheer you up. CFB Updater1 inlcudes hotfixes for some of the bothering usability issues like Editor jump issue for long lines with horizontal scroll, code folding misbehavior, out-of-memory issue for very large projects etc; to call out the high visibility ones. So, Happy CFB-ing once again!
As regards the Updater installation, some points to be noted:

  • This is a critical update and Adobe Updater will download the same and prompt the user for installation
  • AdobeUpdater looks for the updates on a weekly basis (can be set to monthly in Adobe Updater Preferences)
  • CFB updater can be manually invoked via Help -> About Adobe ColdFusion Builder updates
  • CFB will update only the latest installation, say if Standalone is installed and one installs CFB as a plugin then only the plugin installation will be updated.
  • Once the updating process is complete, you need to restart CFB with -clean option

Please refer to the technote for information on issues you might hit upon. It also lists the bug fixes that have gone in -
http://kb2.adobe.com/cps/846/cpsid_84607.html

See you around@NCDevCon!

ncdevcon-250x250-speaking-blk.png
Hope to see some of you at NCDevCon! I would be speaking on the charms of ‘CFBuilder & Mylyn’. The session is on 23rd May, 2:00-3:00pm. Looking forward to participating in a great conference and meeting many of our CFer friends!

CPU spike if TailView is kept open in CFBuilder

CPU usage of jrun service spikes if Tail View is kept open in CFB. The reason is that jrunsvc keeps log file opened and tail view gets the file handle every 100ms. This leads to CPU spike.
Tail View can be configured to get file handle after every 5seconds which reduces CPU spike considerably. You could do this at Windows->Preferences->HTML->Tailview->Change ‘Read Timeout’ to 5000

Opening a file in CFB from explorer

While attempting to open a file from outside CFB (.cfm/.cfc is set to open with CB), you may hit upon a ‘workspace in use’ error. This occurs in shared machines with different users. The workaround is to delete the .eclipse folder that gets created in the user’s home directory. After deleting, start CFB using -clean option. You should be able to open files from file system.

Encoding in CFB

ColdFusion Builder now treats all cfml content as UTF-8 encoded by default. This can be changed through preferences to suit the encoding of the file being edited.
Refer to Sandeep’s blog http://sandeepp.org/blog/?p=159 on ‘how to change encoding preference’.
Also, the forum post http://forums.adobe.com/thread/602751?tstart=30 has similar issue answered.

What would you like to see in the next version of ColdFusion Builder?

The Storm (codename for next release of ColdFusion Builder) research survey is live and available at http://www.surveymonkey.com/s/ColdFusionStorm.
Through this survey, we would like to know your feedback on the current version as well as what you think should be the driving features of the next version. Please spend some time to take the survey and help the CFB team move in the right direction while working on the next version.

Adobe Community Help updates

You can find some useful updates on Adobe Community Help Client (CHC) at:
http://blogs.adobe.com/mallika/2010/03/adobe_community_help_client_-_new_and_enhanced_search_refinements.html
http://blogs.adobe.com/mallika/2010/03/adobe_community_help_client_-_dont_forget_to_use_ctrlf.html

The wait is over! Our baby bird has learnt to fly!

Finally… it’s Click->Buy ColdFusion Builder! And do I need to mention that we are super-excited? :)
Yes, the first ever version of ColdFusion Builder (CFB) has hit the online store! As most of you know, CFB is the first ever home grown IDE for ColdFusion(CF) development. It has always come up as the topmost feature/tool request from the community. CFB provides extensive IDE capabilities and makes CF development much more productive. I would like to congratulate all the stakeholders and to thank each and everyone who has helped make this product what it is today. I am sure it has been a very enriching journey for each one of us individually and as a team.
Just want to call out that we have made some major freeze, performance and startup time related fixes since the last available public beta version.
Here are some handy resource pointers:
ColdFusion Builder release notes: www.adobe.com/go/cfbuilder_releasenotes
Getting started with various tasks in ColdFusion Builder: http://help.adobe.com/en_US/ColdFusionBuilder/Using/WSf01dbd23413dda0e3d098bb81213a52da18-7ffd.html
Getting started tutorials and videos: http://www.adobe.com/devnet/coldfusion/?view=gettingstarted
ColdFusion Builder documentation:
http://help.adobe.com/en_US/ColdFusionBuilder/Installing/index.html
http://help.adobe.com/en_US/ColdFusionBuilder/Using/index.html
We would also like to tell you that CFB can henceforth be updated via Help -> Adobe ColdFusion Builder Updates. This will look for any available updates and install the same. Any major fixes will be made available via updates, which means you would have them faster without having to wait for a major version release.

Reporting one-off issues with CFBuilder

Would like to put a note here to all our beta users and request you to report to us any instability issues that you might hit upon while using CFBuilder. For example, such issues could be something like editor becoming unusable, IDE freezing up, editing becoming unusually slow, system slowing down due to use of CFBuilder, certain file/operation causing editor to behave abnormally etc. Since such cases or any other similar ones are either not very consistently reproducible, or they do not have any straightforward reproducible pattern, in order to report them to us you need to launch CFBuilder from console, take a thread dump, attach and upload it in forums or mail it to dsarkar@adobe.com.
Here is how you can do it:
On Windows – Start CFBuilder from console as CFBuilder.exe -consolelog -debug and keep using it. Once you hit upon the issue, take the thread dump using Ctrl+Break.
On Mac – Start CFB from Mac console. Go to /Applications/Adobe ColdFusion Builder/CFBuilder.app/Contents/MacOS. Then run ./CFBuilder -debug -consolelog. Use the “ps” command to find out the process id (pid) of the Java VM. Invoke “kill -3 ” where is the process id of the Java VM.
A thread dump will be printed on the console where you started Eclipse. Since it may be long, in order to Copy & Paste it, it might be necessary to scroll and/or reduce the font size (xterm: right-click > font size > unreadable).
Alternatively, you can use the handy stacktrace tool at http://www.adaptj.com/main/download
All you need to do is to select the CFBuilder process id from the current list of processes and get the thread dump. The tool is free if you use Java Web Start to download it. And works on MAC, Linux & Windows.
Follow the link and select button “Launch” (press “OK” to “Run as a Java WebStart Application”)
Select menu Process > Select
In the combo box “Process ID” press the “…” button, select application and click OK
Pick menu Process > Thread Dump
File > Save As (enter some name e.g. C:\myThreadDump.txt)

Enhanced SQL editor and SQL code assist:

- SQL editor now has the tab for executing a query. Currently, you can execute only a ‘select’ statement in the SQL editor and it fetches all records at once.
- Code assist has been added for Select, Insert, Update and Delete statements .
- More intelligence have been added to SQL code assist to ensure that code assist for appropriate tables and columns are displayed only at relevant places while typing.
Do let us know if you like what you see in SQL code assist and also what enhancements you would like to see in future releases.