<?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>Holgers Blog &#187; Java</title>
	<atom:link href="http://grosse-plankermann.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://grosse-plankermann.com</link>
	<description>... mal Bloggen ...</description>
	<lastBuildDate>Tue, 11 May 2010 06:38:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eclipse RCP: What to do when things don&#8217;t work on your colleague&#8217;s machine</title>
		<link>http://grosse-plankermann.com/2009/07/07/eclipse-rcp-what-to-do-when-things-do-not-work-on-your-colleagues-machine/</link>
		<comments>http://grosse-plankermann.com/2009/07/07/eclipse-rcp-what-to-do-when-things-do-not-work-on-your-colleagues-machine/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 18:06:22 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Eclipse RCP]]></category>
		<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://grosse-plankermann.com/?p=83</guid>
		<description><![CDATA[I have compiled a list of potential pitfalls, that one might step in when executing code on another system:

Check your IDs
Check them again
Does your product contain all nessesary Plugins/Features
Does your run-configuration (the one generated by selecting Run on your product) contain all your plugins? Did you press Add required plugins
If you use features, check them! [...]]]></description>
			<content:encoded><![CDATA[<p>I have compiled a list of potential pitfalls, that one might step in when executing code on another system:</p>
<ul>
<li>Check your IDs</li>
<li>Check them again</li>
<li>Does your product contain all nessesary Plugins/Features</li>
<li>Does your run-configuration (the one generated by selecting <em>Run</em> on your product) contain all your plugins? Did you press <em>Add required plugins</em></li>
<li>If you use features, check them! Are all plugins present?</li>
<li><span style="text-decoration: underline;">Help system</span>: If your help system does not show: Double check that the Plugin-Editor did not swallow your context definitions. They are often gone if I simply open the editor. Topics do not disappear&#8230;</li>
<li>Check if all help system dependencies are present in your run-configuration. Start by adding all *help*-plugins, continue with *jetty* and *servlet*. Then press <em>Add required plugins</em>. That should do the trick.</li>
<p>If you know of any other helpful tricks, please let me know!</ul>
]]></content:encoded>
			<wfw:commentRss>http://grosse-plankermann.com/2009/07/07/eclipse-rcp-what-to-do-when-things-do-not-work-on-your-colleagues-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse RCP: The dreaded Plugin ID</title>
		<link>http://grosse-plankermann.com/2009/07/02/eclipse-rcp-the-dreaded-plugin-id/</link>
		<comments>http://grosse-plankermann.com/2009/07/02/eclipse-rcp-the-dreaded-plugin-id/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 20:08:26 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Eclipse RCP]]></category>
		<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Plugin ID]]></category>

		<guid isPermaLink="false">http://grosse-plankermann.com/?p=65</guid>
		<description><![CDATA[Hi all!
Apologies for not updating this blog lately.
As I want to talk a little bit about my experiences with Eclipse RCP, I think it is suitable if I tried to write in english. Perhaps this can be helpful for non-german speakers aswell, as information/documentation about E-RCP is a little sparse.
So&#8230; lately I had the chance [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all!</p>
<p>Apologies for not updating this blog lately.</p>
<p>As I want to talk a little bit about my experiences with Eclipse RCP, I think it is suitable if I tried to write in english. Perhaps this can be helpful for non-german speakers aswell, as information/documentation about E-RCP is a little sparse.</p>
<p>So&#8230; lately I had the chance to be a part of a Eclipse RCP project, which I greatly looked forward to! As I took a deep-dive into the concepts, I noticed that things work very differently compared to web-applications or even Swing applications.</p>
<p>In case you are interested, I mostly refered to 2 books, namely</p>
<ul>
<li> <a href="http://www.amazon.de/Eclipse-Rich-Client-Platform-erweiterbaren/dp/3939084913/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1244738431&amp;sr=8-2">Die Eclipse Rich Client Platform: Entwicklung von erweiterbaren Anwendungen mit RCP</a><a href="http://www.amazon.com/Eclipse-Rich-Client-Platform-Addison-Wesley/dp/0321334612/ref=sr_1_4?ie=UTF8&amp;s=books-intl-de&amp;qid=1244738431&amp;sr=8-4"></a></li>
<li><a href="http://www.amazon.com/Eclipse-Rich-Client-Platform-Addison-Wesley/dp/0321334612/ref=sr_1_4?ie=UTF8&amp;s=books-intl-de&amp;qid=1244738431&amp;sr=8-4"><span id="btAsinTitle">Eclipse Rich Client Platform: Designing, Coding, and Packaging Java Applications</span></a></li>
</ul>
<p><span id="btAsinTitle">Additionally there is one <a href="http://www.vogella.de/">blog </a>by a guy called Lars Vogel, which I appreciate very much! Thanks for the great effort Lars!</span></p>
<p><span>By now, our project has produced a niffty little prototype of the soon-to-be greatest RCP-application. Though none of our design decisions are written in stone yet (e.g. I am not sure whether we should use editors for our inputs or just views), I think/hope I have more or less understood the framework.</span></p>
<p><span>But there is at least one thing, that bothers me time and time again:</span></p>
<p><span>The </span><span id="query">ubiquitous</span><span> Plugin ID. I cannot complain much about the basic concept: Of course a plugin has to have an unique identifier, and when you refer to a specific plugin, you have to use this Plugin ID. But again and again I have spent ages looking for some error/non-functional bits while finally noticing that I used the wrong ID.</span></p>
<p><span>So I could just end up blaming me. What I am missing though is some kind of assistance from the framework itself, saying &#8220;Man! You are looking for a plugin named <em>this.is.wrong</em>, but I only know<em> </em>the following plugins:<em>&#8230;</em>&#8221; I think that would save us a lot of time.</span></p>
<p><span>Lately I was implementing context-sensitive help. But I could not figure out, why hitting <em>f1 </em>on a text field did not do anything. This <a href="http://richclientplatform.blogspot.com/2008/02/my-favorite-breakpoints.html">blog</a></span> then showed me, where to place a proper breakpoint to take a peek into the help-listener. It showed that the context-arrays where simply empty. So no context help could be seen. At least I saw that the keybinding worked. After debugging a few hours I was basically stuck. I made a few steps back and made a small sample project. At first I experienced the same issues&#8230; is Ganymede broken? I then realized that I did not provide the Plugin ID but the package name (which had a different case). I changed cases and voila it worked. Again I debugged to the help-listener and behold: The context array had one element.</p>
<p>What I am asking myself right now is: Why doesn&#8217;t Eclipse tell me that it does not register my context (or puts it somewhere only it knows). Life would be easier! <img src='http://grosse-plankermann.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It is seldom obvious to me what happens internally, when Eclipse executes a specific functionallity. At least I need an easier way to find places to debug to.</p>
<p>Perhaps I&#8217;m just missing some point&#8230;</p>
<p>Until then I only can repeat what the aforementioned books told me before:</p>
<p><strong>BE  VERY CAREFULL WHEN YOU USE PLUGIN-IDS</strong> as there is no safety net!</p>
]]></content:encoded>
			<wfw:commentRss>http://grosse-plankermann.com/2009/07/02/eclipse-rcp-the-dreaded-plugin-id/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Warum sind checked exceptions so schlimm?</title>
		<link>http://grosse-plankermann.com/2008/10/16/warum-sind-checked-exceptions-so-schlimm/</link>
		<comments>http://grosse-plankermann.com/2008/10/16/warum-sind-checked-exceptions-so-schlimm/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 16:14:44 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://grosse-plankermann.com/?p=21</guid>
		<description><![CDATA[Momentan sieht man auf jedem dritten Blog bei Dzone, die &#220;berschrift &#34;Checked Exceptions are bad&#34;. Aber ich habe bisher noch nicht ganz verstanden warum!
In einem Fehlerfall (bspw. bei einer klassischen IOException) ist diese Art Exception-Handling doch eigentlich ganz sinnvoll. Selbstverst&#228;ndlich haben Exceptions nichts im Kontrollfluss verloren. Ich habe vielleicht den Punkt auch noch nicht verstanden.
Sollte [...]]]></description>
			<content:encoded><![CDATA[<p>Momentan sieht man auf jedem dritten Blog bei Dzone, die &#220;berschrift &quot;Checked Exceptions are bad&quot;. Aber ich habe bisher noch nicht ganz verstanden warum!</p>
<p>In einem Fehlerfall (bspw. bei einer klassischen IOException) ist diese Art Exception-Handling doch eigentlich ganz sinnvoll. Selbstverst&#228;ndlich haben Exceptions nichts im Kontrollfluss verloren. Ich habe vielleicht den Punkt auch noch nicht verstanden.</p>
<p>Sollte ich irgendwann verstehen warum (oder warum nicht), versuche ich daran zu denken, hier nochmal was zu schreiben.</p>
]]></content:encoded>
			<wfw:commentRss>http://grosse-plankermann.com/2008/10/16/warum-sind-checked-exceptions-so-schlimm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ein Eclipse Webprojekt migrieren</title>
		<link>http://grosse-plankermann.com/2008/05/26/ein-eclipse-webprojekt-migrieren/</link>
		<comments>http://grosse-plankermann.com/2008/05/26/ein-eclipse-webprojekt-migrieren/#comments</comments>
		<pubDate>Mon, 26 May 2008 13:08:20 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://grosse-plankermann.com/2008/05/26/ein-eclipse-webprojekt-migrieren/</guid>
		<description><![CDATA[Ich vergesse hin und wieder folgende Schritte durchzuf&#252;hren, von daher eine kleine &#34;Note-to-self&#34;:   Falls man ein bestehendes Eclipse (Web-)Projekt migriert, muss man

folgenden Artikel lesen
und

die Datei
PLAIN TEXT
CODE:




org.eclipse.wst.common.component 





anpassen, um Context-Root und den Anzeigenamen einzustellen.     Hierf&#252;r sieht besagte Datei zwei Schl&#252;ssel vor
PLAIN TEXT
XML:




&#60;wb-module deploy-name="foo"&#62;&#60;/wb-module&#62; 





 und      [...]]]></description>
			<content:encoded><![CDATA[<p>Ich vergesse hin und wieder folgende Schritte durchzuf&#252;hren, von daher eine kleine &quot;Note-to-self&quot;:   <br />Falls man ein bestehendes Eclipse (Web-)Projekt migriert, muss man</p>
<ul>
<li>folgenden <a href="http://greatwebguy.com/programming/eclipse/converting-a-java-project-to-a-dynamic-web-project-in-eclipse/">Artikel </a>lesen
<p>und</p>
</li>
<li>die Datei
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showPlainTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">org.<span style="">eclipse</span>.<span style="">wst</span>.<span style="">common</span>.<span style="">component</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>anpassen, um Context-Root und den Anzeigenamen einzustellen.     <br />Hierf&#252;r sieht besagte Datei zwei Schl&#252;ssel vor
<div class="igBar"><span id="lxml-5"><a href="#" onclick="javascript:showPlainTxt('xml-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-5">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;wb</span>-module <span style="color: #000066;">deploy-name</span>=<span style="color: #ff0000;">"foo"</span><span style="font-weight: bold; color: black;">&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/wb</span>-module<span style="font-weight: bold; color: black;">&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p> und      
<div class="igBar"><span id="lxml-6"><a href="#" onclick="javascript:showPlainTxt('xml-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-6">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;br</span> <span style="font-weight: bold; color: black;">/&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;property</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"bar"</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"context-root"</span><span style="font-weight: bold; color: black;">&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/property<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>vor. </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://grosse-plankermann.com/2008/05/26/ein-eclipse-webprojekt-migrieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.2.1 Out of Memory Error</title>
		<link>http://grosse-plankermann.com/2007/11/21/eclipse-321-out-of-memory-error/</link>
		<comments>http://grosse-plankermann.com/2007/11/21/eclipse-321-out-of-memory-error/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 19:26:02 +0000</pubDate>
		<dc:creator>Holger</dc:creator>
				<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://grosse-plankermann.com/2007/11/21/eclipse-321-out-of-memory-error/</guid>
		<description><![CDATA[Heute habe ich mich den ganzen Tag mit einem &#34;PermGem&#34; Out of Memory Error in Eclipse herumge&#228;rgert. An durchgehendes Entwickeln war nicht zu denken, da Eclipse in relativ kurzen Abst&#228;nden abgest&#252;rzt ist, besonders beim Aufrufen von jsps (bzw. der entsprechenden Editoren). Im Taskmanager selber habe ich kaum nennenswertes entdecken k&#246;nnen, sprich Speicherauslastung von ~250MB. Eigentlich [...]]]></description>
			<content:encoded><![CDATA[<p>Heute habe ich mich den ganzen Tag mit einem &quot;PermGem&quot; Out of Memory Error in Eclipse herumge&#228;rgert. An durchgehendes Entwickeln war nicht zu denken, da Eclipse in relativ kurzen Abst&#228;nden abgest&#252;rzt ist, besonders beim Aufrufen von jsps (bzw. der entsprechenden Editoren). Im Taskmanager selber habe ich kaum nennenswertes entdecken k&#246;nnen, sprich Speicherauslastung von ~250MB. Eigentlich sollte das kein Problem bei 2GB Hauptspeicher sein. Googlen ergab dann den Tipp mit den Argumenten in der eclipse.ini herumzuspielen. Folgenden Parameter waren eingestellt:   </p>
<pre><tt>-vmargs</tt></pre>
<p>
  </p>
<pre><tt>-Xms64m</tt></pre>
<p>
  </p>
<pre><tt>-Xmx1024m</tt></pre>
<p>
  <br />Bei vielen Leuten hat die letzte Zeile Abhilfe geschaffen (so auch bei einem Kollegen):</p>
<p></p>
<pre><code>-XX:MaxPermSize=128m</code></pre>
<p>Dieses beschreibt den &quot;Objekt-Speicher&quot; der JVM. Dieser l&#228;uft laut der Fehlermeldung &#252;ber.</p>
<p>Allerdings half dieses bei mir nicht. Wichtig an dieser Stelle soll (laut vieler Postings) das Platzieren der Parameter nach dem Eintrag</p>
<pre>-vmargs</pre>
<p>F&#252;rs Erste geholfen hat das Deaktivieren des Exadel-Plugins, so da&#223; ich zumindest weiterarbeiten konnte.</p>
<p>Die sch&#246;nen Web-Editoren vermisse ich trotzdem.</p>
]]></content:encoded>
			<wfw:commentRss>http://grosse-plankermann.com/2007/11/21/eclipse-321-out-of-memory-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
