<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Rob Brooks-Bilson&apos;s Blog - Eclipse</title>
			<link>http://www.brooks-bilson.com/blogs/rob/index.cfm</link>
			<description>A blog for ColdFusion and other topics by Rob Brooks-Bilson, author of the O&apos;Reilly book Programming ColdFusion MX</description>
			<language>en-us</language>
			<pubDate>Mon, 06 Sep 2010 21:25:21 -0400</pubDate>
			<lastBuildDate>Mon, 07 Jan 2008 12:35:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>rbils@amkor.com</managingEditor>
			<webMaster>rbils@amkor.com</webMaster>
			
			
			
			
			
			<item>
				<title>Tell Adobe What You Want in a ColdFusion IDE</title>
				<link>http://www.brooks-bilson.com/blogs/rob/index.cfm/2008/1/7/Tell-Adobe-What-You-Want-in-a-ColdFusion-IDE</link>
				<description>
				
				As has already been blasted around the blogs, Adobe has posed a &lt;a href=&quot;http://www.surveymonkey.com/s.aspx?sm=321RrO9_2fWaP_2bdYMnmF9CuQ_3d_3d&quot;&gt;survey&lt;/a&gt; asking what ColdFusion developers would like to see in a ColdFusion specific IDE.  It goes without saying that many in the ColdFusion community have been asking/begging for an Adobe supported IDE to replace HomeSite +.  

CFEclipse is a fantastic IDE, especially given the fact that it&apos;s essentially supported by a single developer and it&apos;s FREE!  Now imagine what CFEclipse could become if Adobe got behind it.  I don&apos;t know what Adobe&apos;s plans are (help enhance CFEclipse or create their own commercial IDE), but regardless,  it&apos;s nice to see them showing interest in expanding the current ColdFusion IDE market.

You can take the survey here:

&lt;a href=&quot;http://www.surveymonkey.com/s.aspx?sm=321RrO9_2fWaP_2bdYMnmF9CuQ_3d_3d&quot;&gt;http://www.surveymonkey.com/s.aspx?sm=321RrO9_2fWaP_2bdYMnmF9CuQ_3d_3d&lt;/a&gt;
				
				</description>
						
				
				<category>CFEclipse</category>				
				
				<category>Homesite +</category>				
				
				<category>Eclipse</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 07 Jan 2008 12:35:00 -0400</pubDate>
				<guid>http://www.brooks-bilson.com/blogs/rob/index.cfm/2008/1/7/Tell-Adobe-What-You-Want-in-a-ColdFusion-IDE</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Jim Priest on CFEclipse at the IBM Developer Works Site</title>
				<link>http://www.brooks-bilson.com/blogs/rob/index.cfm/2007/11/7/Jim-Priest-on-CFEclipse-at-the-IBM-Developer-Works-Site</link>
				<description>
				
				Kudos to &lt;a href=&quot;http://www.thecrumb.com/&quot;&gt;Jim Priest&lt;/a&gt; for his &lt;a href=&quot;http://www.ibm.com/developerworks/opensource/library/os-eclipse-cfeclipse/index.html?ca=drs-tp4507&quot;&gt;latest&lt;/a&gt;  &lt;a href=&quot;http://www.cfeclipse.org&quot;&gt;CFEclipse&lt;/a&gt; article published on the &lt;a href=&quot;http://www.ibm.com/developerworks/opensource/library/os-eclipse-cfeclipse/index.html?ca=drs-tp4507&quot;&gt;IBM Developer Works website&lt;/a&gt;.

Jim&apos;s an avid blogger and regular contributor to the ColdFusion community.  Getting an article on the IBM Developer Works site is no small feat, and an article there about ColdFusion is just one more feather in the cap of of CF developers.  Cheers to Jim!  This is the kind of exposure outside of the CF mainstream that we can all benefit from.
				
				</description>
						
				
				<category>CFEclipse</category>				
				
				<category>Eclipse</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 07 Nov 2007 22:30:00 -0400</pubDate>
				<guid>http://www.brooks-bilson.com/blogs/rob/index.cfm/2007/11/7/Jim-Priest-on-CFEclipse-at-the-IBM-Developer-Works-Site</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CFSnippets Snip-a-Thon 2007: Get your Entries in Now</title>
				<link>http://www.brooks-bilson.com/blogs/rob/index.cfm/2007/10/11/CFSnippets-SnipaThon-2007-Get-your-Entries-in-Now</link>
				<description>
				
				This one has been making the rounds around the ColdFusion blogosphere, so I thought I&apos;d add to the mix and help get the word out.  Todd Sharp is running a nice contest over at the new &lt;a href=&quot;http://cfsnippets.org/&quot;&gt;CFSnippets&lt;/a&gt; website designed to get developers working with the new Snipex features in &lt;a href=&quot;http://www.cfeclipse.org&quot;&gt;CFEclipse&lt;/a&gt;.    If you haven&apos;t been to CFSnippets, it&apos;s a public Snipex server with several libraries of open source snippets you can use within CFEclipse to speed up development of common tasks.  

The contest runs through November 30th and includes some pretty cool prizes.  For more information, click the banner below.  

  
&lt;a href=&quot;http://cfsnippets.org/&quot;&gt;&lt;img src=&quot;http://www.brooks-bilson.com/blogs/rob/images/snip_a_thon_v2.png&quot; border=&quot;0&quot; width=&quot;480&quot; height=&quot;85&quot;&gt;&lt;/a&gt;
				
				</description>
						
				
				<category>Tools</category>				
				
				<category>Snipex</category>				
				
				<category>Announcements</category>				
				
				<category>Eclipse</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 11 Oct 2007 11:48:00 -0400</pubDate>
				<guid>http://www.brooks-bilson.com/blogs/rob/index.cfm/2007/10/11/CFSnippets-SnipaThon-2007-Get-your-Entries-in-Now</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CFEclipse Tip: Moving Blocks of Code</title>
				<link>http://www.brooks-bilson.com/blogs/rob/index.cfm/2007/3/9/CFEclipse-Tip-Moving-Blocks-of-Code</link>
				<description>
				
				This may already be obvious to heavy Eclipse/CFEclipse/FlexBuilder users, but there&apos;s a really simple way to move one or more lines of code around without having to use copy/paste.

To move a single line of code, place the cursor anywhere on the line and click alt-up arrow to move the code up one line, or alt-down arrow to move the code down one line.

To move multiple lines of code at once, highlight the code you wish to move and use the same alt-up arrow/alt-down arrow shortcut.  It&apos;s that easy!
				
				</description>
						
				
				<category>FlexBuilder</category>				
				
				<category>Eclipse</category>				
				
				<pubDate>Fri, 09 Mar 2007 10:05:00 -0400</pubDate>
				<guid>http://www.brooks-bilson.com/blogs/rob/index.cfm/2007/3/9/CFEclipse-Tip-Moving-Blocks-of-Code</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Converting HomeSite + Snippets to CFEclipse Snippets with ColdFusion</title>
				<link>http://www.brooks-bilson.com/blogs/rob/index.cfm/2006/11/30/Converting-HomeSite--Snippets-to-CFEclipse-Snippets-with-ColdFusion</link>
				<description>
				
				Thanks to Adam Crump, I finally got snippets working in CFEclipse.  Turns out, it was something rather trivial, but I&apos;ll save that for another post.  One of the things that&apos;s kept me from completely switching from HomeSite + to CFEclipse is snippets.  I have hundreds of them, and the thought of living without them makes me cringe.

Once snippets were successfully working for me in CFEclipse, I decided I needed a tool to convert them from HomeSite + format to CFEclipse&apos;s XML format.  HomeSite stores two files for each snippet you create.  Each filename is the actual name of the snippet you see in Homesite.  One file has a .hss extension, and contains the &quot;start&quot; text of the snippet.  The other file gets a .hse extension, and contains the &quot;end&quot; text for the snippet.  With this in mind, I outlined what I wanted my converter tool to do:

&lt;ol&gt;
&lt;li&gt;Read snippets directory recursively&lt;/li&gt;
&lt;li&gt;Cead .hss and .hse files - these contain the snippet text&lt;/li&gt;
&lt;li&gt;Create folders in eclipse snippet directory&lt;/li&gt;
&lt;li&gt;Wrap the snippet text in xml (eclipse snippet format).  Name of snippet is filename from homesite&lt;/li&gt;
&lt;li&gt;Write out xml files in eclipse snippets directory&lt;/li&gt;
&lt;/ol&gt;

Sounds pretty simple, right?  ColdFusion MX 7 added a new recurse attribute to the cfdirectory tag which actually makes the whole process pretty simple.  Here&apos;s the code I came up with.  I have to admit, it&apos;s been a good while since I&apos;ve written any code, so this took me a bit longer than I&apos;d like to admit.  I was able to use the code to convert and copy all of my snippets over, including all folders and subfolders, in just a few seconds.  As always, YMMV:

&lt;code&gt;
&lt;!---
1.  read snippets directory recursively
2.  read .hss and .hse files - these contain the snippet text
3.  create folders in eclipse snippet directory
4.  wrap the snippet text in xml (eclipse snippet format).  Name of snippet is filename from homesite
5.  write out xml files in eclipse snippets directory
---&gt;
&lt;!--- set homesite and eclipse snippet base directories ---&gt;
&lt;cfset sourceDir = &quot;C:\Program Files\Macromedia\HomeSite+\UserData\Snippets&quot;&gt;
&lt;cfset targetDir = &quot;C:\_source\snippets&quot;&gt;

&lt;!--- read in the snippet files and directories from homesite recursively - need mx 7 ---&gt;
&lt;cfdirectory 
	action=&quot;LIST&quot; 
	directory=&quot;#sourceDir#&quot; 
	name=&quot;dirList&quot; 
	recurse=&quot;Yes&quot;
	sort=&quot;directory&quot;&gt;

&lt;!--- strip out .hse and other files so only .hss and directories are left ---&gt;
&lt;cfquery name=&quot;theData&quot; dbtype=&quot;query&quot;&gt;
	SELECT *
	FROM dirList
	WHERE type = &apos;dir&apos;
		OR	name like &apos;%.hss&apos;
&lt;/cfquery&gt;	

&lt;!--- loop over each directory, creating the same thing on the eclipse side ---&gt;
&lt;cfoutput query=&quot;theData&quot; group=&quot;directory&quot; groupcasesensitive=&quot;yes&quot;&gt;
	&lt;cfset myDir = replace(directory, sourceDir,  &quot;&quot;)&gt;
	&lt;cfif directory is not sourceDir&gt;
		&lt;cfdirectory action=&quot;CREATE&quot; directory=&quot;#targetDir##myDir#&quot;&gt;
	&lt;/cfif&gt;

	&lt;cfoutput&gt;
		&lt;cfif listLast(name, &quot;.&quot;) is &quot;hss&quot; and type is &quot;file&quot;&gt;
			&lt;!--- read in the .hss file (start of a snippet) ---&gt;
			&lt;cffile action=&quot;READ&quot; file=&quot;#directory#\#name#&quot; variable=&quot;snippetStart&quot;&gt; 
			&lt;!--- read in the .hse file (end of a snippet) ---&gt;
			&lt;cffile action=&quot;READ&quot; file=&quot;#directory#\#ReplaceNoCase(name,&quot;.hss&quot;,&quot;.hse&quot;)#&quot; variable=&quot;snippetEnd&quot;&gt;
			
&lt;!--- create the xml for each eclipse version of the snippet ---&gt;
&lt;cfsavecontent variable=&quot;targetSnippet&quot;&gt;&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;snippet filetemplate=&quot;false&quot; extension=&quot;cfm&quot;&gt;
&lt;name&gt;#ReplaceNoCase(name,&quot;.hss&quot;,&quot;&quot;)#&lt;/name&gt;
&lt;help&gt;#ReplaceNoCase(name,&quot;.hss&quot;,&quot;&quot;)#&lt;/help&gt;
&lt;starttext&gt;&lt;![CDATA[#snippetStart#]]&gt;&lt;/starttext&gt;
&lt;endtext&gt;&lt;![CDATA[#snippetEnd#]]&gt;&lt;/endtext&gt;
&lt;/snippet&gt;&lt;/cfsavecontent&gt;	

			&lt;!--- write out each file on the eclipse side ---&gt; 
			&lt;cffile action=&quot;WRITE&quot; file=&quot;#targetDir#\#myDir#\#ReplaceNoCase(name,&quot;.hss&quot;,&quot;.xml&quot;)#&quot; output=&quot;#targetSnippet#&quot;&gt;		 
		&lt;/cfif&gt;
	&lt;/cfoutput&gt;
&lt;/cfoutput&gt;

All Finished!
&lt;/code&gt;
				
				</description>
						
				
				<category>CFEclipse</category>				
				
				<category>Homesite +</category>				
				
				<category>Eclipse</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 30 Nov 2006 02:25:00 -0400</pubDate>
				<guid>http://www.brooks-bilson.com/blogs/rob/index.cfm/2006/11/30/Converting-HomeSite--Snippets-to-CFEclipse-Snippets-with-ColdFusion</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Altova&apos;s XMLSpy 2006 and MapForce 2006 Now Support Eclipse!</title>
				<link>http://www.brooks-bilson.com/blogs/rob/index.cfm/2006/8/4/Altovas-XMLSpy-2006-and-MapForce-2006-Now-Support-Eclipse</link>
				<description>
				
				If you have the Enterprise edition of either XMLSpy 2006 or MapForce 2006, you&apos;ll be excited to know that the latest release (R3) now supports integration with Eclipse.

I&apos;ve always liked XMLSpy, yet I&apos;ve hated having to launch a separate editor outside of Eclipse.  With R3, this is no longer a problem (same goes for mapping in MapForce 2006).  

You can download the integration installers from the &lt;a href=&quot;http://www.altova.com/download/xml_suite/xml_tools_enterprise.html&quot;&gt;Altova  website&lt;/a&gt;

I really wish all tools vendors would build on teh Eclipse platform.  It would make life a whole lot easier.
				
				</description>
						
				
				<category>General Development</category>				
				
				<category>Announcements</category>				
				
				<category>Eclipse</category>				
				
				<pubDate>Fri, 04 Aug 2006 12:43:00 -0400</pubDate>
				<guid>http://www.brooks-bilson.com/blogs/rob/index.cfm/2006/8/4/Altovas-XMLSpy-2006-and-MapForce-2006-Now-Support-Eclipse</guid>
				
			</item>
			
		 	
			</channel></rss>