<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A Content Manifesto</title>
	<atom:link href="http://contentmanifesto.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://contentmanifesto.wordpress.com</link>
	<description>Perspectives on Enterprise Content Management</description>
	<lastBuildDate>Tue, 27 Oct 2009 14:40:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='contentmanifesto.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Content Manifesto</title>
		<link>http://contentmanifesto.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://contentmanifesto.wordpress.com/osd.xml" title="A Content Manifesto" />
	<atom:link rel='hub' href='http://contentmanifesto.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Removing Unversioned Files and Modified Files as Part of a Continuous Integration Build</title>
		<link>http://contentmanifesto.wordpress.com/2009/10/21/removing-unversioned-files-and-modified-files-as-part-of-a-continuous-integration-build/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/10/21/removing-unversioned-files-and-modified-files-as-part-of-a-continuous-integration-build/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 22:07:21 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Tactical]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[CruiseControl]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/2009/10/21/removing-unversioned-files-and-modified-files-as-part-of-a-continuous-integration-build/</guid>
		<description><![CDATA[As part of my continuous integration builds using CruiseControl, I’ve fallen into the habit of the following pattern: Perform an SVN Update (get the latest release) Overwrite the updated project directory with a set of static files. For example, if my project lives in ${cc.home}/projects/${project.name}, I’ll have another directory under ${cc.home}/nonvcsfiles/${project.name} in which I store [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=69&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="clear:both;">As part of my continuous integration builds using CruiseControl, I’ve fallen into the habit of the following pattern:</p>
<ol style="clear:both;">
<li>Perform an <span class="caps">SVN</span> Update (get the latest release)</li>
<li>Overwrite the updated project directory with a set of static files. For example, if my project lives in ${cc.home}/projects/${project.name}, I’ll have another directory under ${cc.home}/nonvcsfiles/${project.name} in which I store unversioned content.</li>
<li>Perform the build</li>
<li>Copy out the build artifacts.</li>
</ol>
<p style="clear:both;">
<p style="clear:both;">Why do I follow such a pattern, you ask? The reasons are twofold:</p>
<p style="clear:both;">
<p style="clear:both;">First, I deal with some rather complex deployments to multiple servers, etc. and this is an easy way of overwriting properties files, web.xml files (Java), and web.config files (.NET) with server specific values. Since I also use CruiseControl to deploy to these servers as part of a larger, integration test scheme, I might have the same build doing a lot of different things. This way, I can store a directory of new or modified files that is simply xcopied over the build directory <span class="caps">AFTER</span> the <span class="caps">SVN</span> update. When producing artifacts such as <span class="caps">WAR</span> files, it allows me to pre-tailor the web.xml file prior to deployment.</p>
<p style="clear:both;">
<p style="clear:both;">Second, it allows me to copy in large quantities of binary files that might be linked in. A number of my projects are now making use of Maven and Artifactory to maintain version relationships to Jar files, etc., and I’m aware that you can use svn:externals to store external libraries or code. In some cases, however, I’m using the same CruiseControl instances to build .NET, Java (ant) and Java (maven) projects all at once, and the simplest thing to do is copy external library binaries into the requisite lib directories without putting them explicitly under version control. Maybe you’ve got a problem with this, and I can understand that, but sometimes, the quick solution is the easy solution. We keep good records of our library dependencies, and store them under a directory structure that makes versioning evident; additionally, we document the dependencies and versions in a repeatable way. Enough about that, that’s another holy war…</p>
<p style="clear:both;">
<p style="clear:both;">The net result of this is that once I’m done with a build in CruiseControl, my build directory is littered with modified configuration files, and newly copied binary libraries and some other crud. The question is, what do you do to revert your build directory back to it’s pristine, trunk versioned goodness?</p>
<p style="clear:both;">
<p style="clear:both;">The answer is twofold: revert any modified files using svn revert, and then delete unversioned files and directories.</p>
<p style="clear:both;">
<p style="clear:both;">The second part of that turned out to be a little trickier than I would have thought. If you want to delete unversioned files automatically, you’ve got a bit of problem: you need some external scripting or a quick macro / command line argument, which required some research.</p>
<p style="clear:both;">
<p style="clear:both;">After a little looking, I found a nice summary of methods that you can use at this link: <a href="http://stackoverflow.com/questions/239340/automatically-remove-subversion-unversioned-files">Automatically Remove Subversion Unversioned Files</a>. It shows a number of methods and number of scripting languages.</p>
<p style="clear:both;">
<p style="clear:both;">For my use, I need to do this on a Windows 2003 machine with the subversion command line tools. Unfortunately, in the link above, I did find a solution for a command line script on windows, but it doesn’t work for directories, and it doesn’t work for files with spaces in the name. However, with a few tweaks, here’s the three lines of script needed.</p>
<p style="clear:both;">
<pre class="brush: bash;">
svn revert -R .
for /f &quot;tokens=1*&quot; %i in ('svn status ^| find &quot;?&quot;') do del /q &quot;%j&quot;
for /f &quot;tokens=1*&quot; %i in ('svn status ^| find &quot;?&quot;') do rd /s /q &quot;%j&quot;
</pre>
<p>The first line reverts any of the files that are modified. The second line deletes any unversioned files, and the third line deletes any unversioned directories (and their contents, recursively).</p>
<p style="clear:both;">
<p style="clear:both;">There are two <span class="caps">GREAT</span> things about this process:</p>
<p style="clear:both;">
<ul style="clear:both;">
<li>If there are certain build files or directories that you don’t want deleted or cleaned up, you can add these to the svnignore list, and these will be ignored by version control and <span class="caps">NOT</span> deleted via this process.</li>
<li>This ensures that any additional non-versioned files that make it onto your build server over time are accounted for, either appearing in version control, or appearing the special nonvcsfiles directories.</li>
</ul>
<p style="clear:both;">
<p style="clear:both;">The final step is to drop these items into an <span class="caps">ANT</span> task that can be called either before a new build, or at the end of a build to clean up. Just use the exec method for each line, like this:</p>
<p style="clear:both;">
<p style="clear:both;">
<pre class="brush: xml;">
&lt;!-- clean out nonversioned files --&gt;
&lt;target name=&quot;clean&quot;&gt;
&lt;!-- revert all SVN version controlled files --&gt;
&lt;exec executable=&quot;svn&quot;&gt;
&lt;arg value=&quot;revert&quot;/&gt;
&lt;arg value=&quot;-R&quot;/&gt;
&lt;arg value=&quot;.&quot;/&gt;
&lt;/exec&gt;

&lt;!-- delete all unversioned files not explicit ignored by SVN--&gt;
&lt;exec executable=&quot;cmd&quot;&gt;
&lt;arg value=&quot;/c&quot;/&gt;
&lt;arg value=&quot;for /f &amp;quot;tokens=1*&amp;quot; %i in ('svn status ^| find &amp;quot;?&amp;quot;') do del /q &amp;quot;%j&amp;quot;&quot;/&gt;
&lt;/exec&gt;

&lt;!-- delete all unversioned directories not explicit ignored by SVN--&gt;
&lt;exec executable=&quot;cmd&quot;&gt;
&lt;arg value=&quot;/c&quot;/&gt;
&lt;arg value=&quot;for /f &amp;quot;tokens=1*&amp;quot; %i in ('svn status ^| find &amp;quot;?&amp;quot;') do rd /s /q &amp;quot;%j&amp;quot;&quot;/&gt;
&lt;/exec&gt;

&lt;/target&gt;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=69&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/10/21/removing-unversioned-files-and-modified-files-as-part-of-a-continuous-integration-build/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>
	</item>
		<item>
		<title>More Items that Broke During Snow Leopard Upgrade&#8230;</title>
		<link>http://contentmanifesto.wordpress.com/2009/10/20/more-items-that-broke-during-snow-leopard-upgrade/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/10/20/more-items-that-broke-during-snow-leopard-upgrade/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 13:24:50 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/2009/10/20/more-items-that-broke-during-snow-leopard-upgrade/</guid>
		<description><![CDATA[Having recently been through a Snow Leopard upgrade on my Macbook Pro (2.4 GHz Core Duo model), I previously noted a number of issues with my Ruby on Rails install related to two core issues: Java is automatically upgraded to version 1.6 Many of your Ruby gems need to be reinstalled due to Snow Leopard&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=67&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="clear:both;">Having recently been through a Snow Leopard upgrade on my Macbook Pro (2.4 GHz Core Duo model), I previously noted a number of issues with my Ruby on Rails install related to two core issues:</p>
<ul style="clear:both;">
<li>Java is automatically upgraded to version 1.6</li>
<li>Many of your Ruby gems need to be reinstalled due to Snow Leopard&#8217;s 64 bit support</li>
</ul>
<p style="clear:both;">My latest issue is around my Logitech keyboard and mouse. They still work, but the Logitech Control Center doesn&#8217;t. This is message I see in the Control Center: &#8220;No Logitech Device Found&#8221;.</p>
<p style="clear:both;"><img src="http://contentmanifesto.files.wordpress.com/2009/10/logitech-thumb.png?w=378&#038;h=156" height="156" width="378" style="text-align:center;display:block;margin:0 auto 10px;" />The solution appears to be a simple reinstallation of the Logitech drivers, which can be found here:<br />
<a onclick="return mugicPopWin(this,event);" oncontextmenu="mugicRightClick(this);" href="http://www.logitech.com/index.cfm/494/3129&amp;cl=us,en" target="_blank">Logitech Control Center</a></p>
<p style="clear:both;">Alternately, I found some great instructions at <a href="http://www.tuaw.com/2009/09/01/snow-leopard-get-your-logitech-mouse-and-keyboard-working-again/" target="_blank">TUAW</a>.</p>
<p><br class="final-break" style="clear:both;" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=67&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/10/20/more-items-that-broke-during-snow-leopard-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>

		<media:content url="http://contentmanifesto.files.wordpress.com/2009/10/logitech-thumb.png" medium="image" />
	</item>
		<item>
		<title>Git / Eclipse / The egit Plugin / My Perspectives</title>
		<link>http://contentmanifesto.wordpress.com/2009/09/24/git-eclipse-the-egit-plugin-my-perspectives/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/09/24/git-eclipse-the-egit-plugin-my-perspectives/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 13:40:02 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Dev Practices]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/2009/09/24/git-eclipse-the-egit-plugin-my-perspectives/</guid>
		<description><![CDATA[I&#8217;ve starting working in Git for some of my Ruby work, and I&#8217;m trying to work some Eclipse integration into the mix. I&#8217;m a big fan of IDE&#8217;s from the standpoint that IDE&#8217;s can provide some real efficiencies for certain environments. For example, I use Aptana Studio for my Ruby development, and I really like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=50&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve starting working in Git for some of my Ruby work, and I&#8217;m trying to work some Eclipse integration into the mix. I&#8217;m a big fan of IDE&#8217;s from the standpoint that IDE&#8217;s can provide some real efficiencies for certain environments. For example, I use Aptana Studio for my Ruby development, and I really like some of the features.</p>
<p>One of my complaints so far, however, is that Git has lagged behind Subversion in terms of quality integration with the IDE, or simply visual client inspectors in general. Frankly, when I work in version control (such as subversion), I expect that my IDE will be able to diff between two branches in the version control system (VCS), and I expect to be able to &#8220;double click&#8221; a file, and see a simple diff between two versions of the same file. That should ALL be integrated.</p>
<p>I shouldn&#8217;t be hand cobbling together a loose consolidation of tools that all don&#8217;t work very well in order to inspect the files and work with them for a diff&#8217;ing operation, and when I reconcile code changes between two branches&#8230; well, excuse me if I think that the best tools should have those features integrated. Purists might disagree, but if I&#8217;m at the command line, manually comparing text diffs between two files&#8230; I don&#8217;t feel that efficient.</p>
<p>Let&#8217;s be honest here moment #1:</p>
<blockquote>
<p>Tortoise, the windows client for Subversion releases by tigris.org, is one of the MAIN reasons behind the widespread acceptance of Subversion. What does it do well? It provides an environment for quickly browsing and merging changes graphically, and while it is an external tool, it&#8217;s tied directly into the file explorer (like it or hate it, users understand it).</p>
</blockquote>
<p>Let&#8217;s be honest here moment #2:</p>
<blockquote>
<p>Not all developers have the same skill level. Not all developers are going to immediately understand how to transition to a new VCS tool, and they aren&#8217;t all going to jump there unless the basics (installing it, basic checkin / out, basic merge functionality) is at LEAST on par with what they currently use. At least not en masse.</p>
</blockquote>
<p>It&#8217;s this fact alone that was responsible for some of the changes in the Eclipse development platform with respect to downloading and installing things like VCS / Team providers. The menu completely changed in the most recent versions to a graphical menu that prompts you to download the appropriate native SVN or SVNkit libraries. Basically, you&#8217;ll get a significant uptick in usage if you spend more time on making the initial install painless.</p>
<p>This brings me to egit, which is the latest effort to bring Git functionality to Eclipse through the Mylyn team integration. It looks very basic for the moment, and I certainly applaud the effort. This is what it will take to bring Git mainstream. But&#8230;. in spite of the simplicity, I can&#8217;t get it to work for some Git projects.</p>
<p>Simply trying to share a new project through the team menu results, for me, the dreaded &#8220;spinning beachball of death&#8221;, meaning that that eclipse simply locks up&#8230; (boo!). After selecting my new project (already under Git control), my system simply locks up.</p>
<p>
<img src="http://contentmanifesto.files.wordpress.com/2009/09/200909240934.jpg?w=300&#038;h=190" width="300" height="190" alt="200909240934.jpg" /></p>
<p>The primary issue here seems to be that my project is ALREADY under Git control. If I attempt to use the Team -&gt; Share -&gt; Git option for non-VCS controlled directories, things seem to work normally.</p>
<p>Anyhow, I&#8217;ve logged what I think is my issue over at the google code issue tracker for the egit project. Let me know if you see something similar yourselves!</p>
<p><a href="//code.google.com/p/egit/issues/detail?id=111" title=" http://code.google.com/p/egit/issues/detail?id=111">http://code.google.com/p/egit/issues/detail?id=111</a></p>
<p>Other than that, however, I certainly appreciate the first steps that are being taken by the egit team!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=50&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/09/24/git-eclipse-the-egit-plugin-my-perspectives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>

		<media:content url="http://contentmanifesto.files.wordpress.com/2009/09/200909240934.jpg" medium="image">
			<media:title type="html">200909240934.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby / MacBook / Snow Leopard Upgrade</title>
		<link>http://contentmanifesto.wordpress.com/2009/09/22/ruby-macbook-snow-leopard-upgrade/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/09/22/ruby-macbook-snow-leopard-upgrade/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 20:20:23 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/?p=42</guid>
		<description><![CDATA[After upgrading to Snow Leopard, I was greeted with the following upon trying to run my latest Ruby application: /path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle: dlopen(/path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle, 9): no suitable image found.  Did find: (LoadError) /path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle: no matching architecture in universal wrapper -/path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle /path/to/gems/linecache-0.43/lib/../lib/trace_nums.bundle: dlopen(/path/to/gems/linecache-0.43/lib/../lib/trace_nums.bundle, 9): no suitable image found.  Did find: (LoadError) /path/to/gems/linecache-0.43/lib/../lib/trace_nums.bundle: no matching architecture in universal wrapper - [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=42&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After upgrading to Snow Leopard, I was greeted with the following upon trying to run my latest Ruby application:</p>
<pre class="brush: bash;">
/path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle: dlopen(/path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle, 9): no suitable image found.  Did find: (LoadError)
/path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle: no matching architecture in universal wrapper -/path/to/gems/ruby-debug-base-0.10.3/lib/ruby_debug.bundle

/path/to/gems/linecache-0.43/lib/../lib/trace_nums.bundle: dlopen(/path/to/gems/linecache-0.43/lib/../lib/trace_nums.bundle, 9): no suitable image found.  Did find: (LoadError)
/path/to/gems/linecache-0.43/lib/../lib/trace_nums.bundle: no matching architecture in universal wrapper - /path/to/gems/linecache-0.43/lib/../lib/trace_nums.bundle

/path/to/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection': Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (dlopen(/path/to/gems/pg-0.8.0/lib/pg.bundle, 9): no suitable image found.  Did find: (RuntimeError)
/path/to/gems/pg-0.8.0/lib/pg.bundle: no matching architecture in universal wrapper - /path/to/gems/pg-0.8.0/lib/pg.bundle)
</pre>
<p>I did find a quick fix: basically, the native system gems need to be reinstalled for 64-bit gems:</p>
<p>I found a good script for doing this at:</p>
<p><a class="aligncenter" title="Snow Leopard / 64-bit ruby gem problem?" href="http://stackoverflow.com/questions/1367380/snow-leopard-64-bit-ruby-gem-problem" target="_blank">http://stackoverflow.com/questions/1367380/snow-leopard-64-bit-ruby-gem-problem</a></p>
<p>From the irb interface, try this:</p>
<pre class="brush: ruby;">
$ irb
  irb&gt; `gem list`.each_line {|line| `sudo env ARCHFLAGS=&quot;-arch x86_64&quot; gem install #{line.split.first}`}
</pre>
<p>After about 20 minute of trashing, my system was up and functional again!</p>
<p>&#8212; UPDATE &#8212;<br />
As pointed out by Jeffrey Lee, this could be a little more verbose with the following modifications:</p>
<pre class="brush: bash;">
`gem list`.each_line {|line| puts &quot;Installing #{line.split.first}&quot;; `sudo env ARCHFLAGS=&quot;-arch x86_64&quot; gem install #{line.split.first}`}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=42&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/09/22/ruby-macbook-snow-leopard-upgrade/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>
	</item>
		<item>
		<title>Wurdle.net dump of this blog so far&#8230;</title>
		<link>http://contentmanifesto.wordpress.com/2009/09/19/wurdle-net-dump-of-this-blog-so-far/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/09/19/wurdle-net-dump-of-this-blog-so-far/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 20:50:10 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/?p=34</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=34&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_37" class="wp-caption aligncenter" style="width: 799px"><a rel="attachment wp-att-37" href="http://contentmanifesto.wordpress.com/2009/09/19/wurdle-net-dump-of-this-blog-so-far/wurdle-2/"><img class="size-full wp-image-37" title="Wurdle Dump of Content Manifesto Sept 19, 2009" src="http://contentmanifesto.files.wordpress.com/2009/09/wurdle1.png?w=789&#038;h=411" alt="wurdle-Sept19-2009" width="789" height="411" /></a><p class="wp-caption-text">wurdle-Sept19-2009</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=34&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/09/19/wurdle-net-dump-of-this-blog-so-far/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>

		<media:content url="http://contentmanifesto.files.wordpress.com/2009/09/wurdle1.png" medium="image">
			<media:title type="html">Wurdle Dump of Content Manifesto Sept 19, 2009</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby on Rails and iPhone Web App Development &#8211; Part 1</title>
		<link>http://contentmanifesto.wordpress.com/2009/09/11/ruby-on-rails-and-iphone-web-app-development-part-1/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/09/11/ruby-on-rails-and-iphone-web-app-development-part-1/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 17:52:47 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/2009/09/11/ruby-on-rails-and-iphone-web-app-development-part-1/</guid>
		<description><![CDATA[<p>This is part 1 of a series in developing a web application for the iPhone in Ruby on Rails.</p>
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=30&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
<div>
<img src="http://contentmanifesto.files.wordpress.com/2009/09/mediconnect1.png?w=140&#038;h=254" width="140" height="254" alt="mediconnect1.png" style='float:left;' /><br />
In this article, I&#8217;ll be describing my setup for a simple iPhone application that I&#8217;ve built using Ruby on Rails.The primary objective was to quickly build out a prototype application demonstrating the use of a mobile device in entering critical data in the field (in this case, for Pharmaceutical Sales Reps) as well as content integration to another application for rapidly searching and repurposing legacy Word and Excel 2003 content (that part comes later!)</p>
<p>This is a high-level description, so I&#8217;ll be only providing an overview of some of the rails functionality, so those people looking for a full walkthrough might be a little disappointed.</p>
<p><b>PART 1 &#8211; Building the Basic Application and Simple Data Entry</b></p>
</div>
<p><b>My environment:</b></p>
<blockquote>
<p>OS: Macbook Pro (Leopard 10.5.7)</p>
<p>Primary Dev Environment: <a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/R/eclipse-jee-galileo-macosx-cocoa.tar.gz">Eclipse</a> (Galileo) + <a href="http://aptana.com/radrails">Aptana RadRails</a> (v1.5.1)</p>
<p>Target iPhone Device: iPhone 3G</p>
</blockquote>
<p><b>My Plugins / Gems/ Rails Addons</b></p>
<blockquote>
<p><a href="http://ennerchi.com/projects/jrails">jRails</a> v0.4 &#8211; An excellent substitute for the default prototype libraries used in Rails.</p>
<p><a href="http://github.com/austinrfnd/tank-engine/tree/master">tank-engine</a> &#8211; austinrfnd&#8217;s branch branch of Noel Rappin&#8217;s tank-engine project.</p>
</blockquote>
<p><b>Creating the Basic Application</b></p>
<p>After creating the basic application in Aptana studio, I created very a very basic page for handing new medical information requests:</p>
<blockquote>
<p>script/generate scaffold mirequest summary:string description:string potential_ae:string potential_pc:string primaryproduct</p>
</blockquote>
<p>At this point, I could access basic RESTful functions for index, new, edit, etc. through a standard browser.</p>
<p><strong>Adding iPhone Functionality</strong></p>
<p>In order to best use the iPhone, I first started with Noel Rappin&#8217;s <a href="http://github.com/noelrappin/tank-engine/tree/master">tank-widget</a> plug-in. This is simple successor to to his original <a href="http://github.com/noelrappin/rails-iui/tree/master">rails-IUI</a> plugin, but features integration with the jQuery library instead of using the iui javascript and css files. I actually started with one of the most current branches of this code based on some changes by austinrfnd in his own branch (<a href="http://github.com/austinrfnd/tank-engine/tree/master">tank-engine</a>).</p>
<p>There are some good demonstrations of using this functionality in a series of articles hosted by IBM;</p>
<blockquote>
<p><a href="http://www.ibm.com/developerworks/views/opensource/libraryview.jsp?search_by=Developing+iPhone+applications+using+Ruby+Eclipse,">Developing iPhone applications using Ruby on Rails and Eclipse&#8230;</a></p>
</blockquote>
<p>So, setting up the environment looked something like this:</p>
<p>Install the jQuery Rails plugin (my version is 0.4)</p>
<blockquote>
<p>sudo script/plugin install git://github.com/aaronchi/jrails.git</p>
<p>Manually copy the javascript files in the plugin. to your javascripts directory.</p>
</blockquote>
<p>Install the tank-engine widget</p>
<blockquote>
<p>sudo script/plugin install git://github.com/austinrfnd/tank-engine.git</p>
<p>rake tank_engine:install</p>
</blockquote>
<p>At this point, I needed to modify a few files to add the iPhone rendering format to my mirequests index view.</p>
<blockquote>
<p>Copy and rename views/mirequests/index.html.erb to views/mirequests/index.iphone.erb.</p>
</blockquote>
<p>The next step is to enable the controller to detect iPhone specific requests and to include the plug-in helpers for tank-engine.</p>
<blockquote>
<p>&nbsp;&nbsp;acts_as_iphone_controller :test_mode =&gt; true</p>
<p>&nbsp;&nbsp;include TankEngineHelper</p>
</blockquote>
<p>Finally, you can get a basic set of buttons and a title-bar by editing the index.iphone.erb.</p>
<p>Here&#8217;s what mine looks like.</p>
<blockquote>
<p>%=</p>
<p>l = { :caption =&gt; &#8216;Create MI&#8217;, :url =&gt; new_mirequest_path, :html_options =&gt; { :class =&gt; &#8216;te_slide_left&#8217; } }</p>
<p>r = { :back =&gt; true, :caption =&gt; &#8216;Back&#8217;, :url =&gt; &#8220;/&#8221;, :html_options =&gt; {} }</p>
<p>te_navigation_bar( r, &#8220;MI Request&#8221;, l ) %&gt;</p>
<p>&lt;% panel do %&gt;</p>
<p>&lt;div&gt;</p>
<p>&lt;h2&gt;Pending MI Requests:&lt;/h2&gt;</p>
<p>&lt;/div&gt;</p>
<p>&lt;% fieldset do %&gt;</p>
<p>&lt;% @mirequests.each do |mirequest| %&gt;</p>
<p>&lt;% row mirequest.summary do %&gt;</p>
<p>&lt;%=h mirequest.description %&gt;</p>
<p>&lt;%= te_link_to &#8216;Show&#8217;, mirequest %&gt;</p>
<p>&lt;% end %&gt;</p>
<p>&lt;% end %&gt;</p>
<p>&lt;% end %&gt;</p>
<p>&lt;% end %&gt;</p>
</blockquote>
<p>You can find documentation on these helpers in the tank-engine github site as well as the IBM articles listed above. I did have some formatting issues, however, and the usage of some of the tank-engine helpers wasn&#8217;t completely documented. One thing that I learned was that unless you place the row and fieldset helpers inside the panel helper, you won&#8217;t get the intended look and feel.</p>
<p>The result should look something like this:</p>
<p>
<img src="http://contentmanifesto.files.wordpress.com/2009/09/200909111348.jpg?w=329&#038;h=196" width="329" height="196" alt="200909111348.jpg" /></p>
<p>In the next article, we&#8217;ll discuss some of the formatting issues and shortcomings with the tank-engine library and how I chose to spice this up a little bit as follows:</p>
<p>
<img src="http://contentmanifesto.files.wordpress.com/2009/09/200909111352.jpg?w=320&#038;h=168" width="320" height="168" alt="200909111352.jpg" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=30&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/09/11/ruby-on-rails-and-iphone-web-app-development-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>

		<media:content url="http://contentmanifesto.files.wordpress.com/2009/09/mediconnect1.png" medium="image">
			<media:title type="html">mediconnect1.png</media:title>
		</media:content>

		<media:content url="http://contentmanifesto.files.wordpress.com/2009/09/200909111348.jpg" medium="image">
			<media:title type="html">200909111348.jpg</media:title>
		</media:content>

		<media:content url="http://contentmanifesto.files.wordpress.com/2009/09/200909111352.jpg" medium="image">
			<media:title type="html">200909111352.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting Started with Cocoon 2.2 Under Mac OS X Leopard (1.5)</title>
		<link>http://contentmanifesto.wordpress.com/2009/02/27/getting-started-with-cocoon-22-under-mac-os-x-leopard-15/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/02/27/getting-started-with-cocoon-22-under-mac-os-x-leopard-15/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 04:06:28 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/2009/02/27/getting-started-with-cocoon-22-under-mac-os-x-leopard-15/</guid>
		<description><![CDATA[<p>Versions of Software Used Mac OS X Leopard 10.5.6 Maven 2.0.10 STEPS Upgrade Maven on Leopard Download latest Maven version from Apache: Maven - Download Maven 2.0.10 Follow these excellent steps for upgrading Maven on the Mac: Gridshore » Upgrading maven on the ma c Download Cocoon Follow instructions from Apache Cocoon "Getting Started" site: Cocoon 2.2 Site - Your first Cocoon application using Maven 2 Loading Cocoon Block into Eclipse Read the following article: Maven - Guide to using Eclipse with Maven 2.x From the menu bar, select Window &#62; Preferences. ... M2_REPO= From the Command Line mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org cd renderingserver mvn eclipse:eclipse<br /></p>
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=24&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Versions of Software Used</strong></p>
<ul>
<li>Mac OS X Leopard 10.5.6</li>
<li>Maven 2.0.10</li>
</ul>
<p>STEPS</p>
<p><strong>Upgrade Maven on Leopard</strong></p>
<ul>
<li>Download latest Maven version from Apache: <a href="http://maven.apache.org/download.html">Maven &#8211; Download Maven 2.0.10</a></li>
<li>Follow these excellent steps for upgrading Maven on the Mac: <a href="http://www.gridshore.nl/2008/01/28/upgrading-maven-on-the-mac/">Gridshore » Upgrading maven on the ma</a>c</li>
</ul>
<p><strong>Download Cocoon</strong></p>
<ul>
<li>Follow instructions from Apache Cocoon &#8220;Getting Started&#8221; site: <a href="http://cocoon.apache.org/2.2/1159_1_1.html">Cocoon 2.2 Site &#8211; Your first Cocoon application using Maven 2</a></li>
</ul>
<p><strong>Loading Cocoon Block into Eclipse</strong></p>
<ul>
<li>Read the following article: <a href="http://maven.apache.org/guides/mini/guide-ide-eclipse.html">Maven &#8211; Guide to using Eclipse with Maven 2.x</a></li>
<li><span style="font-family:Verdana;line-height:15px;">From the menu bar, select Window &gt; Preferences. Select the Java &gt; Build Path &gt; Classpath Variables page.</span></li>
<li><span style="font-family:Verdana;line-height:15px;"><em>M2_REPO=</em><br /></span></li>
</ul>
<p>From the Command Line</p>
<p>mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org</p>
<p>cd /Users/smetker/development/cocoon_dev/svn</p>
<p>mkdir getting-started-app</p>
<p>mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org</p>
<blockquote>
<p>Choose a number: (1/2/3): 2</p>
<p>Define value for groupId: : com.rwd.infomaestro</p>
<p>Define value for artifactId: : myBlock1</p>
<p>Define value for version: 1.0-SNAPSHOT: : 1.0.0</p>
<p>Define value for package: com.rwd.infomaestro: : com.rwd.infomaestro.myBlock1</p>
</blockquote>
<p>mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org</p>
<blockquote>
<p>Choose a number: (1/2/3): 2</p>
<p>Define value for groupId: : com.rwd.infomaestro</p>
<p>Define value for artifactId: : myBlock1</p>
<p>Define value for version: 1.0-SNAPSHOT: : 1.0.0</p>
<p>Define value for package: com.rwd.infomaestro: : com.rwd.infomaestro.myBlock2</p>
</blockquote>
<p>cd myBlock1</p>
<p>mvn eclipse:eclipse</p>
<p>Create the 2nd eclipse project settings</p>
<pre style="background-image:initial;background-repeat:initial;background-attachment:initial;background-color:#EFEFEF;font-size:11px;border-color:#AAAAAA;border-style:solid;border-width:1px;padding:10px;">
<span style="font-family:Arial;color:#4C4C4C;font-size:13px;"><span style="color:#000000;font-family:Helvetica;font-size:12px;white-space:normal;">cd ../myBlock2

mvn eclipse:eclipse

cd ..

</span></span>
</pre>
<pre style="background-image:initial;background-repeat:initial;background-attachment:initial;background-color:#EFEFEF;font-size:11px;border-color:#AAAAAA;border-style:solid;border-width:1px;padding:10px;">

</pre>
<pre style="background-image:initial;background-repeat:initial;background-attachment:initial;background-color:#EFEFEF;font-size:11px;border-color:#AAAAAA;border-style:solid;border-width:1px;padding:10px;">
</pre>
<blockquote>
<p><span style="font-family:Arial;color:#4C4C4C;font-size:13px;">Choose a number: (1/2/3): 3</span></p>
</blockquote>
<blockquote>
<p><span style="font-family:Arial;color:#4C4C4C;font-size:13px;">Define value for groupId: : com.rwd.infomaestro</span></p>
</blockquote>
<blockquote>
<p><span style="font-family:Arial;color:#4C4C4C;font-size:13px;">Define value for artifactId: : myWebApp</span></p>
</blockquote>
<blockquote>
<p><span style="font-family:Arial;color:#4C4C4C;font-size:13px;">Define value for version: 1.0-SNAPSHOT: : 1.0.0</span></p>
</blockquote>
<blockquote>
<p><span style="font-family:Arial;color:#4C4C4C;font-size:13px;">Define value for package: com.rwd.infomaestro: : com.rwd.infomaestro.myWebApp</span></p>
</blockquote>
<p>cd ..</p>
<p><span style="font-family:Arial;color:#4C4C4C;font-size:13px;line-height:17px;">In order to use blocks as dependencies you need to <em>install</em> them into Maven&#8217;s local repository. First go to <tt>myBlock1/</tt> and myBlock2/ directory and execute following command:</span></p>
<pre style="background-image:initial;background-repeat:initial;background-attachment:initial;background-color:#EFEFEF;font-size:11px;background-position:initial initial;border-color:#AAAAAA;border-style:solid;border-width:1px;padding:10px;">
cd myBlock1
<span style="font-family:Arial;font-size:13px;color:#4C4C4C;">mvn install
cd ..
mvn install</span>
</pre>
<p><strong><br /></strong></p>
<p><strong><span style="font-family:Arial;font-size:13px;font-weight:normal;color:#4C4C4C;line-height:17px;">So far the web application <tt>myCocoonWebapp</tt> doesn&#8217;t have any information about the existense of the block <tt>myBlock1</tt> and <tt>myBlock2</tt>. Change this by opening <tt>getting-started-app/myCocoonWebapp/pom.xml</tt> and add the block as dependency:</span><br /></strong></p>
<pre style="background-image:initial;background-repeat:initial;background-attachment:initial;background-color:rgb(239,239,239);font-size:11px;background-position:initial initial;border-color:#AAAAAA;border-style:solid;border-width:1px;padding:10px;">
<span style="color:#4C4C4C;font-family:Arial;font-size:13px;line-height:17px;">&lt;project&gt;
[...]
&lt;dependencies&gt;
&lt;dependency&gt;
<strong>        &lt;groupId&gt;</strong><tt>com.rwd.infomaestro</tt></span>&lt;/groupId&gt;
&lt;artifactId&gt;<strong>myBlock1</strong>&lt;/artifactId&gt;
&lt;version&gt;<strong>1.0.0</strong>&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
<strong>        &lt;groupId&gt;</strong><tt>com.rwd.infomaestro</tt>&lt;/groupId&gt;
&lt;artifactId&gt;<strong>myBlock2</strong>&lt;/artifactId&gt;
&lt;version&gt;<strong>1.0.0</strong>&lt;/version&gt;
&lt;/dependency&gt;
&lt;/dependencies&gt;
[...]
&lt;/project&gt;
</pre>
<p><strong><br /></strong></p>
<p><strong>Running Jetty from Command Line (Jetty bundled with Cocoon block)<br /></strong></p>
<p><strong><span style="font-weight:normal;">mvn jetty:run</span><br /></strong></p>
<p><strong><br /></strong></p>
<p><strong>Debugging Cocoon in Eclipse</strong></p>
<p>Follow the instructions under this link first: <a href="http://cocoon.apache.org/1301_1_1.html" style="text-decoration:none;">Cocoon Main Site &#8211; Debugging Cocoon in Eclipse</a></p>
<p><span style="font-family:Arial;font-size:13px;color:#4C4C4C;">Using the Jetty launcher is much simpler and you don&#8217;t have to create a Java project for each Cocoon application that you want to debug.If you prefer using Jetty 6, you can start Jetty as Java application from within Eclipse. For this purpose</span></p>
<ul style="list-style-type:none;list-style-position:initial;list-style-image:initial;margin:5px 0 10px;padding:0 0 0 20px;">
<li style="padding-left:15px;padding-bottom:3px;background-image:url('http://cocoon.apache.org/images/list.gif');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:0 3px;"><span style="font-family:Arial;font-size:13px;color:#4C4C4C;"><a href="http://dist.codehaus.org/jetty/" style="color:#0086B3;">download</a> Jetty 6</span></li>
<li style="padding-left:15px;padding-bottom:3px;background-image:url('http://cocoon.apache.org/images/list.gif');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:0 3px;"><span style="font-family:Arial;font-size:13px;color:#4C4C4C;">and extract it into a directory of choice. You only have to make sure that it is not a subdirectory of an Eclipse project that is added to your Eclispe workspace.</span></li>
<li style="padding-left:15px;padding-bottom:3px;background-image:url('http://cocoon.apache.org/images/list.gif');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:0 3px;"><span style="font-family:Arial;font-size:13px;color:#4C4C4C;">now create a new Java project (e.g. &#8220;Jetty6&#8243;) in your workspace and add jetty-6.x.jar, jetty-util-6.x.jar, servlet-api.2.5.x.jar and start.jar as library dependencies (all 4 files are part of the official Jetty distribution)</span></li>
<li style="padding-left:15px;padding-bottom:3px;background-image:url('http://cocoon.apache.org/images/list.gif');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:0 3px;"><span style="font-family:Arial;font-size:13px;color:#4C4C4C;">add the project(s) that you want to debug as <em>Project References</em> and as <em>Java Build Path &#8211; Projects</em> references. This makes it necessary that these projects are added to the current workspace.</span></li>
<li style="padding-left:15px;padding-bottom:3px;background-image:url('http://cocoon.apache.org/images/list.gif');background-repeat:no-repeat;background-attachment:initial;background-color:initial;background-position:0 3px;"><span style="font-family:Arial;font-size:13px;color:#4C4C4C;">provide a minimal Jetty configuration file <tt>jetty-debug-cocoon.xml</tt>, e.g. in the root directory of your &#8220;Jetty6&#8243; project</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=24&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/02/27/getting-started-with-cocoon-22-under-mac-os-x-leopard-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>
	</item>
		<item>
		<title>Remember when you could buy enterprise software in boxes?</title>
		<link>http://contentmanifesto.wordpress.com/2009/01/20/remember-when-you-could-buy-enterprise-software-in-boxes/</link>
		<comments>http://contentmanifesto.wordpress.com/2009/01/20/remember-when-you-could-buy-enterprise-software-in-boxes/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 20:28:25 +0000</pubDate>
		<dc:creator>contentczar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Documentum]]></category>

		<guid isPermaLink="false">http://contentmanifesto.wordpress.com/2009/01/20/remember-when-you-could-buy-enterprise-software-in-boxes/</guid>
		<description><![CDATA[I found this while cleaning out the office the other day. Haven&#8217;t seen that many boxes for EMC or Oracle software lately. Is it just me?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=18&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found this while cleaning out the office the other day.  Haven&#8217;t seen that many boxes for EMC or Oracle software lately.  Is it just me?</p>
<p><a href="http://contentmanifesto.files.wordpress.com/2009/01/p-640-480-4321df9a-c830-4ab1-a523-4490170ae49d.jpeg"><img src="http://contentmanifesto.files.wordpress.com/2009/01/p-640-480-4321df9a-c830-4ab1-a523-4490170ae49d.jpeg?w=225&#038;h=300" alt="" width="225" height="300" class="alignnone size-full wp-image-364" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/contentmanifesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/contentmanifesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/contentmanifesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/contentmanifesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/contentmanifesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/contentmanifesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/contentmanifesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/contentmanifesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/contentmanifesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/contentmanifesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/contentmanifesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/contentmanifesto.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/contentmanifesto.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/contentmanifesto.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=contentmanifesto.wordpress.com&amp;blog=6062510&amp;post=18&amp;subd=contentmanifesto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://contentmanifesto.wordpress.com/2009/01/20/remember-when-you-could-buy-enterprise-software-in-boxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f35e6bc6984119496fb96fb5d78135?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">contentczar</media:title>
		</media:content>

		<media:content url="http://contentmanifesto.files.wordpress.com/2009/01/p-640-480-4321df9a-c830-4ab1-a523-4490170ae49d.jpeg" medium="image" />
	</item>
	</channel>
</rss>
