<?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>coffeecoders.de &#187; daily tasks</title>
	<atom:link href="http://coffeecoders.de/tag/daily-tasks/feed/" rel="self" type="application/rss+xml" />
	<link>http://coffeecoders.de</link>
	<description>professional devs at work</description>
	<lastBuildDate>Thu, 11 Feb 2010 10:35:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Mouse-less Eclipse</title>
		<link>http://coffeecoders.de/2009/08/mouse-less-eclipse/</link>
		<comments>http://coffeecoders.de/2009/08/mouse-less-eclipse/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 16:31:12 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
				<category><![CDATA[common]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[daily tasks]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://coffeecoders.de/?p=238</guid>
		<description><![CDATA[In his blog Andy Maleh posted a number of brilliant keyboard-shortcuts to ease the use of eclipse and greatly improve your programming experience. I just love it. Thank you so much! Link: Andy Maleh &#8211; Code Painter: Mouse-less Eclipse]]></description>
			<content:encoded><![CDATA[<p>In his blog Andy Maleh posted a number of brilliant keyboard-shortcuts to ease the use of eclipse and greatly improve your programming experience.</p>
<p>I just love it. Thank you so much!</p>
<p>Link: <a href="http://andymaleh.blogspot.com/2009/07/mouse-less-eclipse.html">Andy Maleh &#8211; Code Painter: Mouse-less Eclipse</a></p>
]]></content:encoded>
			<wfw:commentRss>http://coffeecoders.de/2009/08/mouse-less-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Checkout a project from svn &#8211; the right way</title>
		<link>http://coffeecoders.de/2009/02/checkout-a-project-from-svn-the-right-way/</link>
		<comments>http://coffeecoders.de/2009/02/checkout-a-project-from-svn-the-right-way/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 02:42:39 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
				<category><![CDATA[common]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[daily tasks]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://coffeecoders.de/?p=147</guid>
		<description><![CDATA[Do you use eclipse? Do you use svn? Did you ever checked out a new project into your workspace? If you could answer all these questions with a &#8220;yes&#8221; you might have noticed afterwards that you can&#8217;t do anything with this project because eclipse created it as &#8220;general project&#8221;, meaning no java, php or anything [...]]]></description>
			<content:encoded><![CDATA[<p>Do you use eclipse? Do you use svn? Did you ever checked out a new project into your workspace?</p>
<p>If you could answer all these questions with a &#8220;yes&#8221; you might have noticed afterwards that you can&#8217;t do anything with this project because eclipse created it as &#8220;general project&#8221;, meaning no java, php or anything other specialized nature. This results in certain functions like <em>Run as Java application</em> not being accessable.</p>
<p>There are several solutions to that problem &#8211; but most of them are really ugly, imho. But since I don&#8217;t want to keep anything from you I will explain these methods too. So let&#8217;s get started&#8230;</p>
<p><span id="more-147"></span></p>
<h2>The wrong way</h2>
<p>The intuitive way you propably would start the task &#8220;to checkout a new project from SVN&#8221; might be &#8220;File -&gt; New -&gt; Project -&gt; Others&#8230;-&gt; Checkout a project from SVN&#8221;. In the result you&#8217;d have the previously mentioned &#8220;general project&#8221; which is pretty useless.</p>
<h3>solution #1: edit .project</h3>
<p>After the creation of the new project you quit eclipse, browse to the project folder in your file system and open the .project-file in a editor.</p>
<p>You&#8217;ll find these lines:</p>
<blockquote><p>&lt;natures&gt;<br />
&lt;/natures&gt;</p></blockquote>
<p>Change it to match:</p>
<blockquote><p>&lt;natures&gt;<br />
&lt;nature&gt;org.eclipse.jdt.core.javanature&lt;/nature&gt;<br />
&lt;/natures&gt;</p></blockquote>
<p>Save the file and fire up eclipse again, you will have your svn-project recognized as Java-project. This solution might be quick but the drawbacks are the quit/edit/start-sequence outside of eclipse and the necessity to find the right &#8220;nature&#8221; for your svn project.</p>
<h3>solution #2: delete and recreate</h3>
<p>After having completed the checkout you will delete your project. Yes, you read right. (I told you these methods are ugly! <img src='http://coffeecoders.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ) But when deleting be sure you <strong>don&#8217;t check </strong>the box for physically deletion of the files (so they&#8217;ll remain inside your workspace).</p>
<p>When you finished deleting the project you create a new project for the kind of project the svn project should represent (i.e. java, php etc.). While in the creation wizard be sure you select the same folder where the svn project has been checked out into.</p>
<p>The newly created project will have the right project type and will contain all files from the repository. Sometimes it is necessary to refresh the workspace (windows: hit F5 on the project).</p>
<p>Although this method also results in having the right data with the correct project type it has a bad taste jumping through these hoops in order to finish a simple task like that.</p>
<p>Since I wasn&#8217;t pleased with all those solutions I kept on looking. Finally I found&#8230;</p>
<h2>The right way</h2>
<p>Besides the following solution is the one most hoopless (no pun intended) the claim &#8220;right&#8221; is justified because it seems that this is the way the eclipse devs want us to check out a project.</p>
<p>In order to accomplish the task at hand you have to</p>
<ul>
<li>open the <em>SVN Exploring</em>-perspective<br />
( Windows -&gt; Open Perspective -&gt; Other&#8230; -&gt; SVN Exploring)</li>
<li>create a new repository location or select the desired source</li>
<li>browse to the parent folder of your new project (e.g. trunk)</li>
<li>right click on the folder, choose <em>Checkout&#8230;</em></li>
<li>in the new dialogue you will have the chance to select <em>Check out as a project configured using the New Project Wizard</em>, take that chance, fill out the rest as you please and hit <em>Finish</em></li>
<li>in the new project wizard which will open next you can choose your desired project type (e.g. java) and set up everything like you would in a normal project (e.g. compliler compliance level, JRE, related projects etc.)</li>
<li>after hitting this finish button you will notice that the svn is queried to retrieve the code</li>
<li>and you&#8217;re done!</li>
</ul>
<p>In my opinion this way is the most hazzle-free way to check out a new project though I love to see it the other way around too (New-&gt;Project-&gt;New Project from SVN -&gt; yada yada yada -&gt; &#8220;Please select a project type or press OK to let it remain a generel project.&#8221;). Until this is implemented I will go with the second best solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeecoders.de/2009/02/checkout-a-project-from-svn-the-right-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Subversion and TortoiseSVN tips and tricks</title>
		<link>http://coffeecoders.de/2009/02/subversion-and-tortoisesvn-tips-and-tricks/</link>
		<comments>http://coffeecoders.de/2009/02/subversion-and-tortoisesvn-tips-and-tricks/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 01:18:29 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
				<category><![CDATA[common]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[daily tasks]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://coffeecoders.de/?p=145</guid>
		<description><![CDATA[David Vidmar has collected a very interesting list of commands, tricks and tips which will certainly help you dealing with very common problems using TortoiseSVN or any other subversion client. Have a good look a the compiled list and be sure to bookmark it for the next crisis with TSVN&#8230; Link: Subversion and TortoiseSVN tips [...]]]></description>
			<content:encoded><![CDATA[<p><span class="small"> David Vidmar has collected a very interesting list of commands, tricks and tips which will certainly help you dealing with very common problems using <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> or any other subversion client.</span></p>
<p><span class="small">Have a good look a the compiled list and be sure to bookmark it for the next crisis with TSVN&#8230;<br />
</span></p>
<p>Link: <a href="http://vidmar.net/weblog/archive/2007/12/11/subversion-and-tortoisesvn-tips-and-tricks.aspx">Subversion and TortoiseSVN tips and tricks</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeecoders.de/2009/02/subversion-and-tortoisesvn-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change the repository location in subversion</title>
		<link>http://coffeecoders.de/2009/02/change-the-repository-location-in-subversion/</link>
		<comments>http://coffeecoders.de/2009/02/change-the-repository-location-in-subversion/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 10:23:34 +0000</pubDate>
		<dc:creator>Daff</dc:creator>
				<category><![CDATA[common]]></category>
		<category><![CDATA[daily tasks]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://coffeecoders.de/?p=124</guid>
		<description><![CDATA[I recently moved a subversion repository to another location and had to update all the Eclipse projects to the new URL. The clumsy way would be to checkout the whole project again from the new repository URL but there is also a command line way to easily switch everything (Subclipse doesn&#8217;t offer that possibility directly [...]]]></description>
			<content:encoded><![CDATA[<p>I recently moved a subversion repository to another location and had to update all the Eclipse projects to the new URL. The clumsy way would be to checkout the whole project again from the new repository URL but there is also a command line way to easily switch everything (<a href="http://subclipse.tigris.org" target="_blank">Subclipse</a> doesn&#8217;t offer that possibility directly though):</p>
<p><code>svn switch --relocate &lt;oldUrl&gt; &lt;newUrl&gt;</code></p>
<p>Mind that &#8220;oldUrl&#8221; and &#8220;newURl&#8221; have to be full addresses, not some kind of subdirs or relative to another.</p>
<p>Juist to mention it: Subversion 1.4 and 1.5 repositories are not backwards compatible and whenever you use a 1.5 client to check something in there is hardly any way to move back to 1.4 (and 1.4 clients won&#8217;t work with the repository anymore).</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeecoders.de/2009/02/change-the-repository-location-in-subversion/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Why use version control for solo developers or small teams</title>
		<link>http://coffeecoders.de/2009/01/why-use-version-control-for-solo-developers-or-small-teams/</link>
		<comments>http://coffeecoders.de/2009/01/why-use-version-control-for-solo-developers-or-small-teams/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 22:35:01 +0000</pubDate>
		<dc:creator>stevie</dc:creator>
				<category><![CDATA[common]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[daily tasks]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://coffeecoders.de/?p=113</guid>
		<description><![CDATA[Since I started using version control systems like CVS and later on SVN I can&#8217;t remember how I could possibly work before. You might remember sentences like &#8220;But it worked yesterday!&#8221; or &#8220;Why the hell did I change that and when?&#8221; which were common companions when I looked at code I wrote a while back. [...]]]></description>
			<content:encoded><![CDATA[<p>Since I started using version control systems like CVS and later on SVN I can&#8217;t remember how I could possibly work before.</p>
<p>You might remember sentences like &#8220;But it worked yesterday!&#8221; or &#8220;Why the hell did I change that and when?&#8221; which were common companions when I looked at code I wrote a while back.</p>
<p>To avoid situations like this, a version control system could be a valid solution with more benefits than just less confusion.</p>
<p>Ernie Leseberg made the effort to collect most of the reasons I could think of on why to use a VCS with a small team or even if you are working alone.</p>
<p>If you don&#8217;t use a VCS yet give the article below a read and hopefully you will change your mind.</p>
<p>Link: <a href="http://devreview.com/version-control-for-solo-developers/">Why use version control for solo developers or small teams</a></p>
]]></content:encoded>
			<wfw:commentRss>http://coffeecoders.de/2009/01/why-use-version-control-for-solo-developers-or-small-teams/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
