<?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; eclipse</title>
	<atom:link href="http://coffeecoders.de/tag/eclipse/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>
	</channel>
</rss>
