<?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>And now here&#039;s something… &#187; eclipse</title>
	<atom:link href="http://christiansons.net/mike/blog/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://christiansons.net/mike/blog</link>
	<description>Java, Ant, SVN, Jetty, cygwin and other stuff…</description>
	<lastBuildDate>Fri, 02 Dec 2011 16:53:46 +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>Eclipse syntax highlighting with color themes</title>
		<link>http://christiansons.net/mike/blog/2011/06/eclipse-syntax-highlighting-with-color-themes/</link>
		<comments>http://christiansons.net/mike/blog/2011/06/eclipse-syntax-highlighting-with-color-themes/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 06:29:16 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://christiansons.net/mike/blog/?p=706</guid>
		<description><![CDATA[I don&#8217;t mind working with code or structured text files in a plain-text editor like Textpad, but my ability to read and comprehend increases with an editor that performs syntax highlighting. By default, Eclipse does a pretty good job of syntax highlighting Java files without going overboard. But, if you want a fresh look &#8212; <a href='http://christiansons.net/mike/blog/2011/06/eclipse-syntax-highlighting-with-color-themes/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eclipsecolorthemes.org/"><img alt="" src="http://photos.smugmug.com/photos/i-qjJ6xdx/0/O/i-qjJ6xdx.png" class="alignleft" width="100" height="100" /></a>I don&#8217;t mind working with code or structured text files in a plain-text editor like Textpad, but my ability to read and comprehend increases with an editor that performs syntax highlighting.</p>
<p>By default, Eclipse does a pretty good job of syntax highlighting Java files without going overboard. But, if you want a fresh look &#8212; maybe you want to try a dark background &#8212; the Eclipse Color Theme plugin lets you change whole editor themes with the click of your mouse.</p>
<p>The <a href="http://www.eclipsecolorthemes.org/">Eclipse Color Theme</a> plugin is free and so are the themes. So far I&#8217;m liking the <a href="http://www.eclipsecolorthemes.org/?view=theme&#038;id=1">dark Oblivion theme</a>, shown below.</p>
<p><a href="http://www.eclipsecolorthemes.org/?view=theme&#038;id=1"><img alt="" src="http://photos.smugmug.com/photos/i-7JsRh3L/0/O/i-7JsRh3L.png" class="aligncenter" width="420" height="324" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2011/06/eclipse-syntax-highlighting-with-color-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pin Eclipse to taskbar in Windows 7</title>
		<link>http://christiansons.net/mike/blog/2010/08/pin-eclipse-to-taskbar-in-windows-7/</link>
		<comments>http://christiansons.net/mike/blog/2010/08/pin-eclipse-to-taskbar-in-windows-7/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 18:02:55 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://christiansons.net/mike/blog/?p=554</guid>
		<description><![CDATA[There&#8217;s an issue with pinning Eclipse to the Windows 7 taskbar on 64-bit systems. Fortunately one of the suggested workarounds does the trick for me.]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s an <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314805">issue with pinning Eclipse</a> to the Windows 7 taskbar on 64-bit systems.  Fortunately one of the <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=314805#c21">suggested workarounds</a> does the trick for me.<br />
<a href="http://www.smugmug.com/photos/958450986_d3i5D-L.png"><img alt="" src="http://www.smugmug.com/photos/958450986_d3i5D-Th.png" title="screenshot" class="aligncenter" width="150" height="144" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2010/08/pin-eclipse-to-taskbar-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Problems with Eclipse 3.6 Helios plugins on Windows 7</title>
		<link>http://christiansons.net/mike/blog/2010/08/problems-with-eclipse-3-6-helios-plugins-on-windows-7/</link>
		<comments>http://christiansons.net/mike/blog/2010/08/problems-with-eclipse-3-6-helios-plugins-on-windows-7/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 18:49:46 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://christiansons.net/mike/blog/?p=523</guid>
		<description><![CDATA[I like to stay up-to-date with the latest Eclipse releases, often times using release candidates weeks before an actual release. The Eclipse release candidates, generally speaking, are top-notch and free of problems. So I was very surprised to discover a major problem with the 3.6 release almost immediately. the problem The problem was this: plugins <a href='http://christiansons.net/mike/blog/2010/08/problems-with-eclipse-3-6-helios-plugins-on-windows-7/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png" title="eclipse logo" class="alignright" width="171" height="91" />I like to stay up-to-date with the latest Eclipse releases, often times using release candidates weeks before an actual release.  The Eclipse release candidates, generally speaking, are top-notch and free of problems.  So I was very surprised to discover a major problem with the 3.6 release almost immediately.</p>
<h1>the problem</h1>
<p>The problem was this: plugins did not appear to work.  I dutifully installed my standard plugin set using the Update Manager but discovered no evidence of the effort after a restart.  <a href="http://subclipse.tigris.org/">Subclipse</a>?  Missing.  <a href="http://www.mousefeed.com/">Mousefeed</a>? <a href="http://findbugs.sourceforge.net/">FindBugs</a>?  <a href="http://www.nwiresoftware.com/products/nwire-java">nWire</a>?  Missing!<span id="more-523"></span></p>
<p>(Want to <a href="#solution">skip to the solution</a> without reading more?)</p>
<p><tt>Help > About > Installation Details</tt> showed they were installed but none were shown on <tt>Features</tt> or <tt>Plug-ins</tt> tabs.  Apparently <em>installed</em> doesn&#8217;t mean <em>installed</em> in the typical sense of the word.  </p>
<h1>troubleshooting</h1>
<ul>
<li>starting eclipse with <tt>-clean</tt> didn&#8217;t seem to help</li>
<li>starting eclipse with <tt>-consoleLog -debug</tt> didn&#8217;t turn up anything</li>
<li>starting eclipse with <tt>-console</tt> and using the <tt>ss</tt> command on the osgi console did not turn up the wayward plugins</li>
</ul>
<h1>peer support via IRC</h1>
<p>Misery loves company, as they say, so I went to <tt>#eclipse</tt> on IRC.  After sharing my troubles and troubleshooting, a person with the nick <tt>paulweb515_</tt> began helping me.</p>
<p>At this point, I determined my plugins were being installed in <tt>~/.eclipse/.../features/</tt> and <tt>~/.eclipse/.../plugins/</tt>.  Huh?  What is this?  Apparently that&#8217;s a feature of Eclipse.  But I&#8217;m getting ahead of myself&#8230;</p>
<p>While in <tt>#eclipse</tt> I did some more extensive Google searching and turned up a bug report, titled <em><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&#038;id=317896">Plugins install, but do not work</a></em>, which seemed to mirror my problem.</p>
<p>The bug report indicated that Eclipse places plugins and features in <tt>~/.eclipse/</tt> when the user does not have sufficient permission for the eclipse program directory itself.  As I wrote before, apparently that&#8217;s a feature.  But, still, my plugins weren&#8217;t working!  </p>
<h1 id="solution">the solution</h1>
<p>My solution, then, is to install Eclipse in a location where the user has full rights.  For Windows 7 users, a good location might be under the user&#8217;s home directory (<tt>%USERPROFILE%</tt>).  Alternatively, the user could be granted full control of the Eclipse program directory.</p>
<p>While I&#8217;m glad my Eclipse is back to normal, I&#8217;m still disappointed in the amount of time wasted on the problem.  And, unfortunately, I&#8217;ve not been able to determine if this <tt>~/.eclipse/</tt> feature is broken or if something else is going sideways.</p>
<p><strong>Update</strong>: Looks like the <a href="http://blog.zvikico.com/2010/08/eclipse-plugin-installation-and-windows-user-access-control.html">author of nWire has posted</a> about this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2010/08/problems-with-eclipse-3-6-helios-plugins-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eclipse on Ubuntu without GCJ</title>
		<link>http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/</link>
		<comments>http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 08:02:21 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gcj]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christiansons.net/?p=199</guid>
		<description><![CDATA[Software packages from Ubuntu repositories can have some interesting and problematic dependencies. One such example is Ubuntu&#8217;s dependency on GCJ for Ant. Ubuntu&#8217;s Eclipse package also depends on GCJ. If you wish to avoid this dependency, simply download the appropriate binary distribution from the Eclipse download site, extract to the location of your choice, and <a href='http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eclipse.org/downloads/"><img src="/mike/blog/wp-content/uploads/2009/02/eclipse-150x97.png" alt="eclipse" title="eclipse" width="150" height="97" class="alignright size-thumbnail wp-image-212" /></a>Software packages from Ubuntu repositories can have some interesting and problematic dependencies.  One such example is <a href="http://christiansons.net/2009/01/ant-on-ubuntu-without-gcj/">Ubuntu&#8217;s dependency on GCJ for Ant</a>.</p>
<p>Ubuntu&#8217;s Eclipse package also depends on GCJ.  If you wish to avoid this dependency, simply download the appropriate binary distribution from the <a href="http://www.eclipse.org/downloads/">Eclipse download site</a>, extract to the location of your choice, and run Eclipse.</p>
<p style="border: thin dashed;">Before using Eclipse, be sure you have Sun&#8217;s JRE <a href="http://christiansons.net/2008/11/java-6-update-10-is-available/">installed and configured as the default JRE</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2009/02/eclipse-on-ubuntu-without-gcj/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ant on Ubuntu without GCJ</title>
		<link>http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/</link>
		<comments>http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 22:23:33 +0000</pubDate>
		<dc:creator>Mike Christianson</dc:creator>
				<category><![CDATA[ant]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gcj]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christiansons.net/?p=76</guid>
		<description><![CDATA[You may be surprised to learn Ant requires GCJ when installed through Synaptic or apt on Ubuntu.  GCJ is GNU&#8217;s Java compiler.  When you&#8217;re using Sun&#8217;s JDK and compiler, GCJ can get in the way &#8212; at worst it creates conflicts; at best it causes confusion. Here&#8217;s how I installed Ant on Ubuntu without GCJ. <a href='http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://christiansons.net/mike/blog/wp-content/uploads/2009/01/ant_logo_large.gif"><img class="alignleft size-medium wp-image-88" title="Ant logo" src="/mike/blog/wp-content/uploads/2009/01/ant_logo_large.gif" alt="" width="190" height="120" /></a>You may be surprised to learn <a title="Ant website" href="http://ant.apache.org/">Ant</a> requires GCJ when installed through Synaptic or <tt>apt</tt> on Ubuntu.  GCJ is <a title="GCJ homepage" href="http://gcc.gnu.org/java/">GNU&#8217;s Java compiler</a>.  When you&#8217;re using Sun&#8217;s JDK and compiler, GCJ can get in the way &#8212; at worst it creates conflicts; at best it causes confusion.</p>
<p>Here&#8217;s how I installed Ant on Ubuntu without GCJ.<span id="more-76"></span>  <em>Be sure to check out (easier) alternatives suggested in the <a href="#comments">comments, below</a></em>.</p>
<ol>
<li>Download the current <tt>.tar.bz2</tt> distribution of Ant from <a title="Ant mirror" href="http://www.ibiblio.org/pub/mirrors/apache/ant/binaries/">http://www.ibiblio.org/pub/mirrors/apache/ant/binaries/</a>.</li>
<li>Unpack archive using <tt>tar</tt>.</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xjvf</span> apache-ant-<span style="color: #000000; font-weight: bold;">*</span>-bin.tar.bz2</pre></div></div>

<li>Move the unpacked directory to <tt>/usr/local/ant</tt>.</li>
<li>Change that directory&#8217;s owner to <tt>root</tt>.</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> root:root <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>ant</pre></div></div>

<li>Add the following lines to <tt>/etc/bash.bashrc</tt>.</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">ANT_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>ant
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #800000;">${PATH}</span>:<span style="color: #800000;">${ANT_HOME}</span><span style="color: #000000; font-weight: bold;">/</span>bin</pre></div></div>

</ol>
<p>From a new shell, run <tt>ant</tt>.  You should see the following:</p>
<pre>Buildfile: build.xml does not exist!
Build failed</pre>
<p>Yes, it&#8217;s a failure message.  But it means Ant is working as expected.  <img src='http://christiansons.net/mike/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://christiansons.net/mike/blog/2009/01/ant-on-ubuntu-without-gcj/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

