<?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>ScratchMyTail.com &#187; Programming</title>
	<atom:link href="http://www.scratchmytail.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scratchmytail.com</link>
	<description>My little tech blog</description>
	<lastBuildDate>Tue, 17 Jan 2012 21:21:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Compilation unit is not on the build path, Eclipse and STS Springsource</title>
		<link>http://www.scratchmytail.com/2011/07/27/compilation-unit-is-not-on-the-build-path-eclipse-and-sts-springsource/</link>
		<comments>http://www.scratchmytail.com/2011/07/27/compilation-unit-is-not-on-the-build-path-eclipse-and-sts-springsource/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:02:46 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[build path error]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[Compilation unit is not on the build path]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java project]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[springsource]]></category>
		<category><![CDATA[sts]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=325</guid>
		<description><![CDATA[Recently I&#8217;ve been struggling with an annoying error in SpringSource (Eclipse + Spring Framework). The error causes auto-completion to stop working, and a popup to occur containing this error message: &#8220;Compilation unit is not on the build path&#8221;. In this post I will share my solution to this problem. Most of the projects I&#8217;m working on are [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been struggling with an annoying error in SpringSource (Eclipse + Spring Framework). The error causes auto-completion to stop working, and a popup to occur containing this error message: <em>&#8220;Compilation unit is not on the build path&#8221;. </em>In this post I will share my solution to this problem.</p>
<p><span id="more-325"></span>Most of the projects I&#8217;m working on are controlled by a Subversion repository. They are also using Maven for dependency management. I searched a bit around the web and didn&#8217;t really find that many solutions for this problem. The first thing I found out was that I needed to create a new local Java Project when checking out the project from svn. So this is basically how you should checkout your projects from SVN in eclipse or SpringSource STS to avoid this problem.</p>
<blockquote><p>File &lt; Import &lt; SVN &#8211; Checkout Projects From SVN &lt; Choose your repository &lt; Select the folder/trunk you want to checkout &lt; The crucial point, select the &#8220;&#8230;New Project Wizard&#8221; and Finish &lt; Now select Java and Java Project &lt; Finish.</p></blockquote>
<p>You should now have a local Java project containing the selected svn folder. You can now add Maven Dependency Management and Spring Project Nature to your project. Try opening a .java file and press ctrl-space. The error message should now be gone and auto-completion should be working.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2011/07/27/compilation-unit-is-not-on-the-build-path-eclipse-and-sts-springsource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make your code look beautiful with Pygmentize</title>
		<link>http://www.scratchmytail.com/2010/05/23/make-your-code-look-beautiful-with-pygmentize/</link>
		<comments>http://www.scratchmytail.com/2010/05/23/make-your-code-look-beautiful-with-pygmentize/#comments</comments>
		<pubDate>Sun, 23 May 2010 12:18:35 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[listings]]></category>
		<category><![CDATA[minted]]></category>
		<category><![CDATA[pretty]]></category>
		<category><![CDATA[pygmentize]]></category>
		<category><![CDATA[pygments]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=249</guid>
		<description><![CDATA[Ever wanted your source code listings to look the same in your blog as in your favorite IDE? It&#8217;s now possible with a Python syntax highlighter, called Pygmentize. Pygmentize is a syntax highlighter written in Python. It can be used as a simple command line tool, as well as being reached from Python scripts. In [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted your source code listings to look the same in your blog as in your favorite IDE? It&#8217;s now possible with a Python syntax highlighter, called <em>Pygmentize</em>.</p>
<p><a title="Pygmentize home page" href="http://pygments.org/">Pygmentize</a> is a syntax highlighter written in Python. It can be used as a simple command line tool, as well as being reached from Python scripts.</p>
<p>In the following example I want to highlight a JavaScript file. I tell pygmentize to output HTML:</p>
<blockquote><p>pygmentize -f html -o example.html example.js</p></blockquote>
<p>The command above generated this output (I simply imported the HTML created by Pygmentize into my blog post).</p>
<p><b></p>
<blockquote>
<style type="text/css">
td.linenos { background-color: #f0f0f0; padding-right: 10px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 125%; }
body .hll { background-color: #ffffcc }
body  { background: #f8f8f8; }
body .c { color: #408080; font-style: italic } /* Comment */
body .err { border: 1px solid #FF0000 } /* Error */
body .k { color: #008000; font-weight: bold } /* Keyword */
body .o { color: #666666 } /* Operator */
body .cm { color: #408080; font-style: italic } /* Comment.Multiline */
body .cp { color: #BC7A00 } /* Comment.Preproc */
body .c1 { color: #408080; font-style: italic } /* Comment.Single */
body .cs { color: #408080; font-style: italic } /* Comment.Special */
body .gd { color: #A00000 } /* Generic.Deleted */
body .ge { font-style: italic } /* Generic.Emph */
body .gr { color: #FF0000 } /* Generic.Error */
body .gh { color: #000080; font-weight: bold } /* Generic.Heading */
body .gi { color: #00A000 } /* Generic.Inserted */
body .go { color: #808080 } /* Generic.Output */
body .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
body .gs { font-weight: bold } /* Generic.Strong */
body .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
body .gt { color: #0040D0 } /* Generic.Traceback */
body .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
body .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
body .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
body .kp { color: #008000 } /* Keyword.Pseudo */
body .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
body .kt { color: #B00040 } /* Keyword.Type */
body .m { color: #666666 } /* Literal.Number */
body .s { color: #BA2121 } /* Literal.String */
body .na { color: #7D9029 } /* Name.Attribute */
body .nb { color: #008000 } /* Name.Builtin */
body .nc { color: #0000FF; font-weight: bold } /* Name.Class */
body .no { color: #880000 } /* Name.Constant */
body .nd { color: #AA22FF } /* Name.Decorator */
body .ni { color: #999999; font-weight: bold } /* Name.Entity */
body .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
body .nf { color: #0000FF } /* Name.Function */
body .nl { color: #A0A000 } /* Name.Label */
body .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
body .nt { color: #008000; font-weight: bold } /* Name.Tag */
body .nv { color: #19177C } /* Name.Variable */
body .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
body .w { color: #bbbbbb } /* Text.Whitespace */
body .mf { color: #666666 } /* Literal.Number.Float */
body .mh { color: #666666 } /* Literal.Number.Hex */
body .mi { color: #666666 } /* Literal.Number.Integer */
body .mo { color: #666666 } /* Literal.Number.Oct */
body .sb { color: #BA2121 } /* Literal.String.Backtick */
body .sc { color: #BA2121 } /* Literal.String.Char */
body .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
body .s2 { color: #BA2121 } /* Literal.String.Double */
body .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
body .sh { color: #BA2121 } /* Literal.String.Heredoc */
body .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
body .sx { color: #008000 } /* Literal.String.Other */
body .sr { color: #BB6688 } /* Literal.String.Regex */
body .s1 { color: #BA2121 } /* Literal.String.Single */
body .ss { color: #19177C } /* Literal.String.Symbol */
body .bp { color: #008000 } /* Name.Builtin.Pseudo */
body .vc { color: #19177C } /* Name.Variable.Class */
body .vg { color: #19177C } /* Name.Variable.Global */
body .vi { color: #19177C } /* Name.Variable.Instance */
body .il { color: #666666 } /* Literal.Number.Integer.Long */
</style>
<div class="highlight">
<pre>
<span class="k">if</span> <span class="p">(</span><span class="nx">time</span> <span class="o">&lt;</span> <span class="mi">10</span><span class="p">)</span>
<span class="p">{</span>
    <span class="nb">document</span><span class="p">.</span><span class="nx">write</span><span class="p">(</span><span class="s2">&quot;&lt;b&gt;Good morning&lt;/b&gt;&quot;</span><span class="p">);</span>
<span class="p">}</span>
<span class="k">else</span>
<span class="p">{</span>
    <span class="nb">document</span><span class="p">.</span><span class="nx">write</span><span class="p">(</span><span class="s2">&quot;&lt;b&gt;Good day&lt;/b&gt;&quot;</span><span class="p">);</span>
<span class="p">}</span></pre>
</div>
</blockquote>
<p></b><br />
Take a closer look in the <a href="http://pygments.org/docs/quickstart/">quickstart</a> guide for more details on the command line tool, and how to use it in Python scripts. A package  called <a href="http://code.google.com/p/minted/">Minted</a> that utilizes pygmentize can be used to list source code in <em>LaTeX</em>. I used it in my Master thesis, and it looks so much better than the default <em>lstlistings</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2010/05/23/make-your-code-look-beautiful-with-pygmentize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first iPhone application</title>
		<link>http://www.scratchmytail.com/2010/03/13/my-first-iphone-application/</link>
		<comments>http://www.scratchmytail.com/2010/03/13/my-first-iphone-application/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 18:15:45 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tv-lista]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=244</guid>
		<description><![CDATA[My first application developed for the iPhone is now available in AppStore. Read more about the application here. You can also take a closer look in iTunes via this link.]]></description>
			<content:encoded><![CDATA[<p>My first application developed for the iPhone is now available in AppStore. Read more about the application <a href="http://www.scratchmytail.com/tvlista">here</a>. You can also take a closer look in iTunes via this <a href="http://appsto.re/TV-Lista">link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2010/03/13/my-first-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting developing apps for the iPhone</title>
		<link>http://www.scratchmytail.com/2009/03/07/starting-developing-apps-for-the-iphone/</link>
		<comments>http://www.scratchmytail.com/2009/03/07/starting-developing-apps-for-the-iphone/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 14:37:07 +0000</pubDate>
		<dc:creator>ScratchMyTail</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.scratchmytail.com/?p=144</guid>
		<description><![CDATA[Today i finally received my first iPhone development book. The book is titled &#8220;Beginning iPhone Development: Exploring the iPhone SDK&#8220;. The book is written by Dave Mark and Jeff LaMarche. Both have alot experience with Cocoa and Objective-C, so I think this is a good book. I gave the university library a visit too where [...]]]></description>
			<content:encoded><![CDATA[<p>Today i finally received my first iPhone development book. The book is titled &#8220;<a href="http://www.amazon.com/Beginning-iPhone-Development-Exploring-Professional/dp/1430216263/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1236436515&amp;sr=8-1">Beginning iPhone Development: Exploring the iPhone SDK</a>&#8220;. The book is written by Dave Mark and Jeff LaMarche. Both have alot experience with Cocoa and Objective-C, so I think this is a good book. I gave the university library a visit too where I found a Objective-C book,  so no I&#8217;m well prepared for creating the next killer app!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scratchmytail.com/2009/03/07/starting-developing-apps-for-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://www.scratchmytail.com/wp-content/plugins/mystat/mystat.php?act=time_load&id=87264&rnd=25957064" /></channel>
</rss>

