<?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>Ryan Phelan &#187; OSX</title>
	<atom:link href="http://www.rphelan.com/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rphelan.com</link>
	<description>Exploring Flex, Design, and Visualization</description>
	<lastBuildDate>Thu, 12 Aug 2010 14:56:14 +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>Running Cairngen on a Mac</title>
		<link>http://www.rphelan.com/2008/04/12/running-cairngen-on-a-mac/</link>
		<comments>http://www.rphelan.com/2008/04/12/running-cairngen-on-a-mac/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 02:59:28 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Cairngen]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.rphelan.com/?p=26</guid>
		<description><![CDATA[I've been using Cairngen for a while on my PC and it works great. It is a huge time saver for building Cairngorm based Flex applications. When I tried using it on my MacBook Pro, I found out that it's not quite as straight forward. There is a comprehensive discussion on the problem at Eric [...]]]></description>
			<content:encoded><![CDATA[<p>I've been using <a href="http://code.google.com/p/cairngen/">Cairngen</a> for a while on my PC and it works great.  It is a huge time saver for building Cairngorm based Flex applications.  When I tried using it on my MacBook Pro, I found out that it's not quite as straight forward.  There is a comprehensive discussion on the problem at <a href="http://www.ericfeminella.com/blog/2007/11/19/cairngen-21/">Eric Feminella's blog</a> (creator of Cairngen) which was a huge help.  The issue is that Cairngen requires Java 6 which doesn't exist yet (officially) for OSX.  You can get around this by downloading a few libraries and including them in your Ant classpath.</p>
<p>Here's what I had to do to get Cairngen running on OSX 10.4 / Eclipse 3.3.2.  I'm assuming it would work for 10.5 too, but I haven't tested it.</p>
<ol>
<li>Download the following jars:
<ul>
<li><a rel="nofollow" href="http://www.mozilla.org/rhino/download.html">Mozilla Rhino (js.jar)</a></li>
<li><a rel="nofollow" href="http://jakarta.apache.org/site/downloads/downloads_bsf.cgi">Jakarta BSF (bsf.jar)</a></li>
<li><a href="http://commons.apache.org/downloads/download_logging.cgi">Apache Commons Logging (commons-logging-1.1.1.jar)</a></li>
</ul>
</li>
<li>I placed the jars in the Ant lib folder in my Eclipse installation:  eclipse/plugins/org.apache.ant_1.7.0.../lib</li>
<li>Go to <code>Eclipse->Preferences->Ant->Runtime->Classpath</code>, select "Ant Home Entries" and add the three jars using the "Add External JARs..." button.</li>
</ol>
<p>That's it.  Hope you don't have to waste as much time figuring this out as I did!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rphelan.com/2008/04/12/running-cairngen-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
