<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dan's Drivelings &#187; Eclipse</title>
	<atom:link href="http://dan.skaggsfamily.ws/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://dan.skaggsfamily.ws</link>
	<description>Random Thoughts of a Techno-Hermit</description>
	<lastBuildDate>Thu, 09 Sep 2010 02:37:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Speaking to the CFMeetup group on August 20</title>
		<link>http://dan.skaggsfamily.ws/2009/08/17/speaking-to-the-cfmeetup-group-on-august-20/</link>
		<comments>http://dan.skaggsfamily.ws/2009/08/17/speaking-to-the-cfmeetup-group-on-august-20/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 15:12:25 +0000</pubDate>
		<dc:creator>Dan Skaggs</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Speaking Engagements]]></category>

		<guid isPermaLink="false">http://dan.skaggsfamily.ws/?p=273</guid>
		<description><![CDATA[Charlie Arehart posted this to the CFMeetup site this morning so I thought I&#8217;d announce it here too. I will be speaking to the CFMeetup group on Thursday, August 20th at 12:00pm ET. We are going to be talking about one way to set up a development environment for ColdFusion application development that will use [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.carehart.org" target="_blank">Charlie Arehart</a> posted this to the <a href="http://www.meetup.com/coldfusionmeetup/">CFMeetup site</a> this morning so I thought I&#8217;d announce it here too. I will be speaking to the CFMeetup group on Thursday, August 20th at 12:00pm ET. We are going to be talking about one way to set up a development environment for ColdFusion application development that will use Eclipse 3.5 and Tomcat 6 to allow you to develop your applications against any of the major CFML server engines out there today.</p>
<p>This will be my first CFMeetup presentation and I&#8217;m both nervous and excited.</p>
<p>The link for the CFMeetup is <a href="http://www.meetup.com/coldfusionmeetup/calendar/11128508/">http://www.meetup.com/coldfusionmeetup/calendar/11128508/</a>.</p>
<p><strong>UPDATE:</strong> I&#8217;ve attached the <a href='http://dan.skaggsfamily.ws/wp-content/uploads/2009/08/cfmeetup-resources.zip'>slides and XML snippet</a> that I referenced in the presentation.  The URL for the recording is <a href="http://experts.na3.acrobat.com/p39094247/">http://experts.na3.acrobat.com/p39094247/</a>. Thanks to everyone for attending and for all the feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://dan.skaggsfamily.ws/2009/08/17/speaking-to-the-cfmeetup-group-on-august-20/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Configure FusionDebug 3 Beta for use with Railo 3.1 on Tomcat</title>
		<link>http://dan.skaggsfamily.ws/2009/05/07/configure-fusiondebug-3-beta-for-use-with-railo-31-on-tomcat/</link>
		<comments>http://dan.skaggsfamily.ws/2009/05/07/configure-fusiondebug-3-beta-for-use-with-railo-31-on-tomcat/#comments</comments>
		<pubDate>Thu, 07 May 2009 13:03:30 +0000</pubDate>
		<dc:creator>Dan Skaggs</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Development Environments]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://dan.skaggsfamily.ws/?p=208</guid>
		<description><![CDATA[For the past couple of months, I&#8217;ve been running my CFML server engines (yes engines, plural) on top of Tomcat on my local development environment. This offers me, as an independent developer that works on a number of different client projects, a great deal of flexibility in matching a particular client&#8217;s production configuration. Also lately, [...]]]></description>
			<content:encoded><![CDATA[<p>For the past couple of months, I&#8217;ve been running my CFML server engines (yes engines, plural) on top of Tomcat on my local development environment. This offers me, as an independent developer that works on a number of different client projects, a great deal of flexibility in matching a particular client&#8217;s production configuration.  Also lately, I&#8217;ve been working on a couple of projects using Railo 3.1 as well as a project for a client that still uses CFMX 7.  One of the things that I really missed when not developing with ColdFusion 8 is the step debugger that ships with CF8.  I&#8217;d used FusionDebug some time ago with CFMX 7 when I was running it on top of JRun 4 but had never gotten around to getting it configured under my current, Tomcat-based setup.  Until tonight that is.</p>
<p>I ran into a situation while working on a MachII application running on Railo 3.1 where I REALLY need to see what was going on with the various variable scopes during the request cycle, so I decided tonight to see if I could get FusionDebug 3 Beta up and running with Railo and Tomcat.<br />
<span id="more-208"></span><br />
Before we get started, I want to detail my particular setup and lay out some assumptions. My environment consists of the following components. Yours might be slightly different, but the basics should be the same.</p>
<ul>
<li>Apache 2.2.11 web server configured with one virtual host per client site</li>
<li>Tomcat 6 installed into /opt/tomcat</li>
<li>Apache forwards ColdFusion requests to Tomcat via AJP</li>
<li>http://localhost web root is /Users/dskaggs/Sites/localhost/htdocs</li>
<li>WEB-INF folder from exploded Railo 3.1 WAR file resides in the web root folder</li>
</ul>
<p>Now for some assumptions:</p>
<ul>
<li>You can browse to a CFML page (either by going directly to Tomcat http://localhost:8080/someContext/test.cfm or through Apache http://localhost/test.cfm )</li>
<li>You&#8217;ve installed FusionDebug into Eclipse using the instructions in the &#8220;Install FusionDebug into Eclipse&#8221; section <a href="http://www.fusion-reactor.com/support/kb/FDS-103.cfm" target="_blank">here</a></li>
<li>You&#8217;ve created a project in Eclipse that points to your site files</li>
<li>You don&#8217;t have Tomcat starting as a daemon or Windows service</li>
</ul>
<p>The first thing that you have to do is tell Tomcat to enable debugging on a specific TCP port. For this example the port number that we&#8217;re going to use is 8000 (the same as the documentation on the FusionDebug site).  You do this by adding the following line of code to the catalina.sh file in the /bin folder under the Tomcat install directory (in my case /opt/tomcat/bin/catalina.sh). I added it directly under the large comment block at the top of the file.</p>

<div class="wp_syntax"><div class="code"><pre class="cfm" style="font-family:monospace;">CATALINA_OPTS=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</pre></div></div>

<p>If you&#8217;re on Windows, this file is named catalina.bat and the format is slightly different:</p>

<div class="wp_syntax"><div class="code"><pre class="cfm" style="font-family:monospace;">set CATALINA_OPTS=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</pre></div></div>

<p>Save the file and launch Tomcat. In my case, I launched it in a terminal window so I could see exactly what was going on using the command</p>

<div class="wp_syntax"><div class="code"><pre class="cfm" style="font-family:monospace;">cd /opt/tomcat/bin
sudo ./catalina.sh run</pre></div></div>

<p>If everything worked correctly, you&#8217;ll see the following line near the top of the output to the console:</p>

<div class="wp_syntax"><div class="code"><pre class="cfm" style="font-family:monospace;">Listening for transport dt_socket at address: 8000</pre></div></div>

<p>That concludes the configuration necessary on the Tomcat side.  Now we need to get FusionDebug configured to connect to that port.  In Eclipse, go to Window > Open Perspective > Other and choose FusionDebug from the list that appears in the popup window. </p>
<p>Then you&#8217;ll need to open up the Debug Configurations panel by going to Run > Debug Configurations. Find the entry for Fusion Debug in the left side, right click on it and choose &#8220;New&#8221; from the context menu. Enter a descriptive string in the Name: block at the top of the left side of the screen (I used simply Localhost). Then move to the configuration panel below with the 3 tabs (Connect, Source Code Lookup, and Common).</p>
<p>On the connect tab, enter <em>localhost</em> in the Host: block and <em>8000</em> in the Port: block.</p>
<p>On the Source Code Lookup tab, in the drop list that says &#8220;&lt;All Projects&gt;&#8221;, choose the Eclipse project that contains your files. In the drop list just to the right of the Project select box you just clicked on, choose the folder that corresponds to the web root of your site.  Finally, enter the full file system path that corresponds to the folder you just chose and click the Add button. Click the Apply button to save the configuration. You can then click the Debug button at the bottom of the screen to start the debug session.  If all goes well, you&#8217;ll see &#8220;FusionDebug (localhost:8000) (Connected)&#8221; in the Debug pane.</p>
<p>Now it&#8217;s just a matter of creating a test.cfm file (or using an existing file), setting some breakpoints and browsing to the file and you should see the execution stop at your breakpoint and be able to browse through the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://dan.skaggsfamily.ws/2009/05/07/configure-fusiondebug-3-beta-for-use-with-railo-31-on-tomcat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Interesting ColdFusion 8 debugger behavior</title>
		<link>http://dan.skaggsfamily.ws/2008/03/18/interesting-coldfusion-8-debugger-behavior/</link>
		<comments>http://dan.skaggsfamily.ws/2008/03/18/interesting-coldfusion-8-debugger-behavior/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 19:11:35 +0000</pubDate>
		<dc:creator>Dan Skaggs</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://dan.skaggsfamily.ws/2008/03/18/interesting-coldfusion-8-debugger-behavior/</guid>
		<description><![CDATA[I sometimes have to remind myself what a useful tool the debugger that&#8217;s built into ColdFusion 8 is. Today I was debugging a fairly involved process that I&#8217;ve been writing that uses several CFCs including on CFC that contains methods to apply all the business rules to the particular process. I had a couple of [...]]]></description>
			<content:encoded><![CDATA[<p>I sometimes have to remind myself what a useful tool the debugger that&#8217;s built into ColdFusion 8 is. Today I was debugging a fairly involved process that I&#8217;ve been writing that uses several CFCs including on CFC that contains methods to apply all the business rules to the particular process.  I had a couple of values that weren&#8217;t getting set just correctly so I fired up a debugging session and started to work through the process flow to determine where I was losing the value in question.</p>
<p><span id="more-57"></span>After a while of debugging, I tried to set a few additional breakpoints and instead of showing the typical solid blue dot icon on the line where I set the breakpoint, the Eclipse debugger showed a dot with a question mark over it.  I tried terminating and relaunching the debugging session, closing and restarting Eclipse and even setting a breakpoint in a different file&#8211;all to no avail.  After checking the LiveDocs on Adobe.com, I found a <a href="http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=usingdebugger_6.html" target="_blank">support article</a> that described the various icons that could be displayed as breakpoints and what they indicated.</p>
<p>This particular icon indicated that the copy in ColdFusion&#8217;s memory didn&#8217;t match what was in the editor.  That led me to think that maybe I could clear the template cache in the CF Administrator and take care of the problem.  Nope.  So I poked around a little more and found two buttons I hadn&#8217;t noticed before.  On the Debugger Settings page, there are buttons to stop and start the debugging server.  Two quick clicks and I had restarted the debugging server.  However, when I relaunched the debugging session in Eclipse, my icon returned to having the question mark.</p>
]]></content:encoded>
			<wfw:commentRss>http://dan.skaggsfamily.ws/2008/03/18/interesting-coldfusion-8-debugger-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I think I&#8217;m going to like Mylyn</title>
		<link>http://dan.skaggsfamily.ws/2007/12/30/i-think-im-going-to-like-mylyn/</link>
		<comments>http://dan.skaggsfamily.ws/2007/12/30/i-think-im-going-to-like-mylyn/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 03:43:34 +0000</pubDate>
		<dc:creator>Dan Skaggs</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://dan.skaggsfamily.ws/2007/12/30/i-think-im-going-to-like-mylyn/</guid>
		<description><![CDATA[A couple weeks ago I posted about moving our SVN repositories to a hosted solution at]]></description>
			<content:encoded><![CDATA[<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">A couple weeks ago I posted about moving our SVN repositories to a hosted solution at</p>
]]></content:encoded>
			<wfw:commentRss>http://dan.skaggsfamily.ws/2007/12/30/i-think-im-going-to-like-mylyn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stuck in D.C.</title>
		<link>http://dan.skaggsfamily.ws/2007/03/17/stuck-in-dc/</link>
		<comments>http://dan.skaggsfamily.ws/2007/03/17/stuck-in-dc/#comments</comments>
		<pubDate>Sat, 17 Mar 2007 17:12:29 +0000</pubDate>
		<dc:creator>Dan Skaggs</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://dan.skaggsfamily.ws/2007/03/17/stuck-in-dc/</guid>
		<description><![CDATA[Thanks to a late afternoon winter storm yesterday, I am spending the weekend in Chantilly, VA. I was due to go home yesterday (and really looking forward to it too!) but the storm cancelled most of the flights out of Dulles and I was told they couldn&#8217;t get me back to Nashville until Sunday. Since [...]]]></description>
			<content:encoded><![CDATA[<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">Thanks to a late afternoon winter storm yesterday, I am spending the weekend in Chantilly, VA. I was due to go home yesterday (and really looking forward to it too!) but the storm cancelled most of the flights out of Dulles and I was told they couldn&#8217;t get me back to Nashville until Sunday. Since I had to be back up here Monday, it didn&#8217;t make sense to do that, so I&#8217;m just not going home this weekend.</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">
]]></content:encoded>
			<wfw:commentRss>http://dan.skaggsfamily.ws/2007/03/17/stuck-in-dc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
