<?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>Benny's Blog &#187; eclipse</title>
	<atom:link href="http://blog.projectnibble.org/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.projectnibble.org</link>
	<description>House Of Code</description>
	<lastBuildDate>Fri, 13 Aug 2010 15:06:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>What is the currently active workspace in Eclipse?</title>
		<link>http://blog.projectnibble.org/2010/08/13/what-is-the-currently-active-workspace-in-eclipse/</link>
		<comments>http://blog.projectnibble.org/2010/08/13/what-is-the-currently-active-workspace-in-eclipse/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 07:21:36 +0000</pubDate>
		<dc:creator>Benny Bottema</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[workspace]]></category>

		<guid isPermaLink="false">http://blog.projectnibble.org/?p=591</guid>
		<description><![CDATA[Imagine you are dealing with multiple workspaces, which for example can be expected if you split up a code base in several Eclipse projects and you are working on several releases at once. Now wouldn&#8217;t it be handy if Eclipse would tell you which workspace is active? There are two ways. 1. Increase workspace history [...]]]></description>
			<content:encoded><![CDATA[<p>Imagine you are dealing with multiple workspaces, which for example can be expected if you split up a code base in several Eclipse projects and you are working on several releases at once. Now wouldn&#8217;t it be handy if Eclipse would tell you which workspace is active?</p>
<p><strong>There are two ways.</strong></p>
<p><span id="more-591"></span></p>
<h2>1. Increase workspace history and derive from this list</h2>
<p>You can derive from the workspace history list which workspace isn&#8217;t in there: that one will be the one currently active. This is the list you see when you got to <i>File -> Switch Workspace</i>.</p>
<p>Depending on how many workspaces you need, you might want to increase the size of the workspace history. You can configure this setting at:</p>
<p><i>Window -> Preferences -> General -> Startup and Shutdown -> Workspaces -> &#8216;Number of workspaces to remember&#8217;</i>.</p>
<h2>2. Show the current workspace in the titlebar</h2>
<p>This one is obviously better as it requires no action on your part. Here’s a clear and simple post I found to solve this the right way.</p>
<p><a href="http://www.rekk.de/bloggy/2007/eclipse-show-workspace-location-in-title-bar/">Eclipse – Show Workspace Location in Title Bar</a></p>
<blockquote><p>eclipse -showlocation -vmargs -Xmx700M</p></blockquote>
<p>(those vmargs are optional and have nothing to do with showing the workspace.)</p>
<p>Thanks uhm&#8230; admin guy!</p>
<p><a href="http://blog.projectnibble.org/2010/08/13/what-is-the-currently-active-workspace-in-eclipse/trackback/">trackback</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.projectnibble.org/2010/08/13/what-is-the-currently-active-workspace-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excluding resources and test classes from war/ear in Eclipse</title>
		<link>http://blog.projectnibble.org/2009/08/24/excluding-test-classes-from-war-ear/</link>
		<comments>http://blog.projectnibble.org/2009/08/24/excluding-test-classes-from-war-ear/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 15:15:24 +0000</pubDate>
		<dc:creator>Benny Bottema</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.projectnibble.org/?p=358</guid>
		<description><![CDATA[Today I was trying to figure out how to exclude certain resources/classes from the war that was being deployed to my embedded server in Eclipse. I couldn&#8217;t find out how to do this in the Eclipse settings file. Apparently, it has nothing to do with the source folder you see in the Project Explorer view, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to figure out how to exclude certain resources/classes from the war that was being deployed to my embedded server in Eclipse. I couldn&#8217;t find out how to do this in the Eclipse settings file. </p>
<p>Apparently, it has nothing to do with the source folder you see in the Project Explorer view, or the export settings in the Buildpath dialogs: instead you need to edit the Eclipse settings file “project-war\.settings\org.eclipse.wst.common.component” (viewable in the Navigator view) and modify the deployed source folders in there. Changes there do *not* reflect in the Project explorer (at least not with my version of Eclipse, Galileo). I’ve removed the test sourcefolder from there and everything was honky dory.</p>
<pre  name="code" class="xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;project-modules id=&quot;moduleCoreId&quot; project-version=&quot;1.5.0&quot;&gt;
  &lt;wb-module deploy-name=&quot;foo-war&quot;&gt;
    &lt;wb-resource deploy-path=&quot;/&quot; source-path=&quot;/src/main/webapp&quot;/&gt;
    &lt;wb-resource deploy-path=&quot;/WEB-INF/classes&quot; source-path=&quot;/src/main/java&quot;/&gt;
    &lt;wb-resource deploy-path=&quot;/WEB-INF/classes&quot; source-path=&quot;/src/main/resources&quot;/&gt;
    &lt;property name=&quot;context-root&quot; value=&quot;foo&quot;/&gt;
    &lt;property name=&quot;java-output-path&quot;/&gt;
  &lt;/wb-module&gt;
&lt;/project-modules&gt;
</pre>
<p><a href="http://blog.projectnibble.org/2009/08/24/excluding-test-classes-from-war-ear/trackback/">trackback</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.projectnibble.org/2009/08/24/excluding-test-classes-from-war-ear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repost: Make Eclipse ignore .svn directories</title>
		<link>http://blog.projectnibble.org/2009/08/11/repost-make-eclipse-ignore-svn-directories/</link>
		<comments>http://blog.projectnibble.org/2009/08/11/repost-make-eclipse-ignore-svn-directories/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 11:37:28 +0000</pubDate>
		<dc:creator>Benny Bottema</dc:creator>
				<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://blog.projectnibble.org/?p=353</guid>
		<description><![CDATA[Eclipse has the annoying little problem where Eclipse will copy .svn folders to the target/classes output folder and then complain about duplicate resources. After wading through some vague solutions, here&#8217;s a clear and simple post I found to solve this annoyance. Make Eclipse ignore .svn directories Window -> Preferences…, Java -> Compiler -> Building. Under [...]]]></description>
			<content:encoded><![CDATA[<p>Eclipse has the annoying little problem where Eclipse will copy .svn folders to the target/classes output folder and then complain about duplicate resources. After wading through some vague solutions, here&#8217;s a clear and simple post I found to solve this annoyance.</p>
<p><a href="http://radfordbw.squidpower.com/2007/04/12/make-eclipse-ignore-svn-directories/">Make Eclipse ignore .svn directories</a></p>
<blockquote><p>Window -> Preferences…, Java -> Compiler -> Building. Under “Output folder” add “, .svn/” to “Filtered Resources” (so that you get “*.launch, .svn/”).</p></blockquote>
<p>It still works like a charm. Thanks Brian.</p>
<p><a href="http://blog.projectnibble.org/2009/08/11/repost-make-eclipse-ignore-svn-directories/trackback/">trackback</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.projectnibble.org/2009/08/11/repost-make-eclipse-ignore-svn-directories/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Fix Eclipse @author under any account</title>
		<link>http://blog.projectnibble.org/2008/06/30/fix-eclipse-author-under-any-acount/</link>
		<comments>http://blog.projectnibble.org/2008/06/30/fix-eclipse-author-under-any-acount/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 19:01:18 +0000</pubDate>
		<dc:creator>Benny Bottema</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://blogs.quintor.nl/bbottema/2008/06/30/fix-eclipse-author-under-any-acount/</guid>
		<description><![CDATA[Here&#8217;s a quick tip I found very useful in Windows, involving Eclipse template system and the @Author annotation. Say you are working under some kind of account, for example some assigned number combination which you use to log into Windows or something. Mine recently was AA170738. Now say you are editing Java classes in Eclipse [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick tip I found very useful in Windows, involving Eclipse template system and the @Author annotation.</p>
<p>Say you are working under some kind of account, for example some assigned number combination which you use to log into Windows or something. Mine recently was AA170738. Now say you are editing Java classes in Eclipse and generating comments with Eclipse. You might end up with something like this:</p>
<pre>/**
 * @author AA170738
 *
 */</pre>
<p>I Found this very annoying since it happened to me for every class I introduced and templates are supposed to save time. You could ofcourse turn it off entirely, <em>Preferences-&gt;Java-&gt;Editor-&gt;Templates-&gt;uncheck @author</em>, but I just wanted it fixed the right way.</p>
<p>Turns out Eclipse simply reads out the Java system property <strong>user.name</strong>. All we need to do then is boot Eclipse with an explicit system property. Like so&#8230;</p>
<p><em>eclipse.exe -vmargs -Duser.name=&#8221;John Doe&#8221;</em></p>
<p>Just change that in your shortcut and you&#8217;re set.</p>
<pre>/**
 * @author John Doe
 *
 */</pre>
<p><img src="http://images.slashdot.org/favicon.ico" alt="Slashdot" border="0" height="16" width="16" /> <a href="http://slashdot.org/slashdot-it.pl?op=basic&amp;url=http://blogs.quintor.nl/bbottema/2008/06/30/fix-eclipse-author-under-any-acount/">Slashdot It!</a>   /   <a href="http://blogs.quintor.nl/bbottema/2008/06/30/fix-eclipse-author-under-any-acount/trackback/">trackback</a></p>
<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://blogs.quintor.nl/bbottema"><img src="http://static.technorati.com/pix/fave/btn-fave2.png" alt="Add to Technorati Favorites" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.projectnibble.org/2008/06/30/fix-eclipse-author-under-any-acount/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
