<?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>Olaf&#039;s blog &#187; eclipse</title>
	<atom:link href="http://olafsblog.sysbsb.de/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://olafsblog.sysbsb.de</link>
	<description>Olaf&#039;s blog on software development and life</description>
	<lastBuildDate>Thu, 18 Nov 2010 07:57:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring Eclipse Ganymede with subversion in Ubuntu 8.04</title>
		<link>http://olafsblog.sysbsb.de/configuring-eclipse-ganymede-with-subversion-in-ubuntu-804/</link>
		<comments>http://olafsblog.sysbsb.de/configuring-eclipse-ganymede-with-subversion-in-ubuntu-804/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 10:23:39 +0000</pubDate>
		<dc:creator>olaf</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[System engineering]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[subversive]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://olafsblog.sysbsb.de/?p=53</guid>
		<description><![CDATA[After installing the all-new Eclipse ganymede (by downloading it from the eclipse site) under ubuntu 8.04 i ran into some trouble after installing version 1.4.1 of the subclipse subversion plugin.
Long story short, subclipse requires subversion 1.5, but ubuntu 8.04 provides 1.4.x.
If you still want to use subclipse with ganymede in ubuntu, there are only two [...]]]></description>
			<content:encoded><![CDATA[<p>After installing the all-new <a href="http://www.eclipse.org/ganymede/">Eclipse ganymede</a> (by downloading it from the eclipse site) under ubuntu 8.04 i ran into some trouble after installing version 1.4.1 of the <a href="http://subclipse.tigris.org/">subclipse subversion plugin</a>.</p>
<p>Long story short, subclipse requires subversion 1.5, but ubuntu 8.04 provides 1.4.x.<br />
If you still want to use subclipse with ganymede in ubuntu, there are only two ways two achieve this &#8211; both of which i cannot recommend because they are hacks or bad compromises.<br />
<span id="more-53"></span><br />
a.) You could add the the ubuntu package source of the upcoming ubuntu release (i.e. <code>deb http://fr.archive.ubuntu.com/ubuntu intrepid main</code>) and install subversion 1.5 and the package <code>libsvn-java</code> from it. This is a bad idea since it will also install a bunch of transitive dependencies not designed for ubuntu 8.04. It might in fact damage your installation.<br />
b.) You could not use the java hl API but a software connector completely written in JAVA (SVNKit client). This will work at first sight, but will convert your svn repository into 1.5 format. As a consequence, you can no longer use the svn command line client, since it does not support this format.</p>
<h3>Subversive as an alternative to subclipse</h3>
<p>Facing the above problems, i looked for an alternative and tried <a href="http://www.polarion.org/index.php?page=download&#038;project=subversive">subversive</a>. It&#8217;s an official and free eclipse plugin. The developers intend to make it the default subversion support plugin for eclipse.<br />
It installed without any problem and worked really well with the javaHL api shipped with ubuntu 8.04. Look and feel of the plugin do not differ much from subclipse &#8211; subversive even offers a couple of additional useful options.</p>
<p>Here is how i installed and configured subversive:</p>
<ol>
<li>
Follow the installation instructions on the <a href="http://www.polarion.org/index.php?page=download&#038;project=subversive">subversive download site</a>.<br />
Since you will use the native javaHL connector implementation, be sure to choose the javaHL implementation from the update site:<br />
<img id="image56" src="http://olafsblog.sysbsb.de/wp-content/uploads/2008/08/subversive-javahl-selection.jpg" alt="javaHL implementation selection in eclipse update site" />
</li>
<li>Install the java HL API on ubuntu: <code>sudo apt-get install libsvn-javahl</code>.</li>
<li>Add the library directory where javahl resides to your <code>eclipse.ini</code> (located in the root folder of your eclipse installation). Just add the following line into it: <br /><code>-Djava.library.path=/usr/lib/jni</code>.</li>
<li>Restart eclipse</li>
<li>Verify your setup. <br />
   Goto Window>Preferences>Team>SVN and click the &#8220;SVN Connector&#8221; tab.<br />
   The native javaHL connector should be selected<br />
  <img id="image58" src="http://olafsblog.sysbsb.de/wp-content/uploads/2008/08/subversive-javahl-connector-selected.jpg" alt="Eclipse SVN Team view with javaHL connector selected" />
</li>
</ol>
<p>I&#8217;m working with it since about a week, it&#8217;s fast, has not failed on my a single time and is easy to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://olafsblog.sysbsb.de/configuring-eclipse-ganymede-with-subversion-in-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>OutOfMemoryException (PermGenSpace) with Eclipse JEE</title>
		<link>http://olafsblog.sysbsb.de/outofmemoryexception-permgenspace-with-eclipse-jee/</link>
		<comments>http://olafsblog.sysbsb.de/outofmemoryexception-permgenspace-with-eclipse-jee/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 10:38:35 +0000</pubDate>
		<dc:creator>olaf</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://olafsblog.sysbsb.de/?p=41</guid>
		<description><![CDATA[The Eclipse JEE distribution Europa Winter appears to have a memory issue with the default JVM memory settings, causing an OutOfMemoryException of the PermGenSpace which makes the IDE hang up and / or exit.
This issue appears to be subject of several bug reports and discussions (see for example this discussion at EclipseZone) .
In general, the [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.eclipse.org/downloads/">Eclipse JEE distribution Europa Winter</a> appears to have a memory issue with the default JVM memory settings, causing an OutOfMemoryException of the PermGenSpace which makes the IDE hang up and / or exit.<br />
This issue appears to be subject of several bug reports and discussions (see for example <a href="http://www.eclipsezone.com/eclipse/forums/t99477.html">this discussion at EclipseZone</a>) .</p>
<p>In general, the fix or workaround for the problem is assigning more memory to the PermGenSpace while increasing the amount of heapspace.<br />
The following entries in the <code>eclipse.ini</code> (located in the eclipse installation root folder) did it for me:</p>
<p><code><br />
-Xms40m<br />
-Xmx512m<br />
-XX:MaxPermSize=96m<br />
</code></p>
<p><em>Not that this workaround will only work with <a href="http://java.sun.com">sun&#8217;s Java distribution</a> (which is the most common), but not with IBM&#8217;s, since the latter does not support setting the maxPermSize with -XX:MaxPermSize.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://olafsblog.sysbsb.de/outofmemoryexception-permgenspace-with-eclipse-jee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring tools für eclipse</title>
		<link>http://olafsblog.sysbsb.de/spring-tools-fur-eclipse/</link>
		<comments>http://olafsblog.sysbsb.de/spring-tools-fur-eclipse/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 17:43:37 +0000</pubDate>
		<dc:creator>olaf</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://olafsblog.sysbsb.de/?p=32</guid>
		<description><![CDATA[Wer mit dem spring framework entwickelt sollte das spring IDE Projekt nicht missen.
Die einfach zu installierenden Plugins erweitern unter anderem den XML-Editor um nützliche &#8220;content assists&#8221; für die spring Konfiguration.

Sehr nützlich!
]]></description>
			<content:encoded><![CDATA[<p>Wer mit dem <a href="http://springframework.org">spring framework</a> entwickelt sollte das <a href="http://springide.org/blog/">spring IDE Projekt</a> nicht missen.<br />
Die <a href="http://springide.org/project/wiki/SpringideInstall">einfach zu installierenden Plugins</a> erweitern unter anderem den XML-Editor um nützliche &#8220;content assists&#8221; für die spring Konfiguration.</p>
<p><img src="http://olafsblog.sysbsb.de/wp-content/uploads/2008/03/eclipse-springide-xml.jpg" alt="spring ide im XML Editor von Eclipse" /></p>
<p>Sehr nützlich!</p>
]]></content:encoded>
			<wfw:commentRss>http://olafsblog.sysbsb.de/spring-tools-fur-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search &amp; Replace in Eclipse (mit Regex)</title>
		<link>http://olafsblog.sysbsb.de/notiz-search-replace-in-eclipse/</link>
		<comments>http://olafsblog.sysbsb.de/notiz-search-replace-in-eclipse/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 12:30:42 +0000</pubDate>
		<dc:creator>olaf</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://olafsblog.sysbsb.de/?p=18</guid>
		<description><![CDATA[Die Search &#038; Replace-Funktionen von Eclipse ist recht gut versteckt.
Es gibt zwei Arten, Find &#038; Replace aufzurufen:
1. Find &#038; Replace in aktuell geöffneter Datei
Der einfache Find &#038; Replace-Dialog lässt sich mit strg+f öffnen.
Siehe auch in der eclipse SDK help.
2. Find &#038; Replace über beliebige Dateien im Workspace / Projekt
Dazu den Suchdialog mit strg+h öffnen oder [...]]]></description>
			<content:encoded><![CDATA[<p>Die Search &#038; Replace-Funktionen von Eclipse ist recht gut versteckt.<br />
Es gibt zwei Arten, Find &#038; Replace aufzurufen:</p>
<h4>1. Find &#038; Replace in aktuell geöffneter Datei</h4>
<p>Der einfache Find &#038; Replace-Dialog lässt sich mit strg+f öffnen.<br />
Siehe auch in der <a href="http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/shared/ref-findreplace.htm">eclipse SDK help</a>.</p>
<h4>2. Find &#038; Replace über beliebige Dateien im Workspace / Projekt</h4>
<p>Dazu den Suchdialog mit strg+h öffnen oder über das &#8220;search&#8221; &#8211; Menü öffnen.<br />
<span id="more-18"></span><br />
Als nächstes &#8220;File Search&#8221; auswählen. Will man für Search &#038; Replace Reguläre Ausrücke benutzen,  muss hier bereits &#8220;Regular expressions&#8221; ausgewählt sein.</p>
<p><img id="image19" src="http://olafsblog.sysbsb.de/wp-content/uploads/2008/01/eclipse_find_and_replace.png" alt="Eclipse Such-Dialog: Find &amp; Replace" /></p>
<p>In das Sucheingabefeld darf man jetzt auch schon Eingaben machen.<br />
Mit einem Klick auf &#8220;replace&#8221; ganz unten kommt man dann zu einer brauchbaren Search &#038; Replace-Sicht.</p>
<p>Hoffentlich wird das im nächsten Release etwas prominenter plaziert. Ist ja kein ganz unwichtiges Feature&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://olafsblog.sysbsb.de/notiz-search-replace-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bibliotheks-Sourcecode mit maven in Eclipse integrieren</title>
		<link>http://olafsblog.sysbsb.de/bibliotheks-sourcecode-mit-maven-in-eclipse-integrieren/</link>
		<comments>http://olafsblog.sysbsb.de/bibliotheks-sourcecode-mit-maven-in-eclipse-integrieren/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 18:49:25 +0000</pubDate>
		<dc:creator>olaf</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven 2]]></category>

		<guid isPermaLink="false">http://olafsblog.sysbsb.de/?p=17</guid>
		<description><![CDATA[Wer seine Projekte mit Maven konfiguriert kommt in den Genuss, mit den passenden Plugins gleich die IDE-Konfiguration für seine Projekte geliefert zu bekommen.
Am bekanntesten dürfte dabei das maven-eclipse plugin sein.
Dieses erlaubt in der  &#8211; Sektion eine Menge feiner Zusatzeinstellungen. Unter anderem werden mit folgendem Eintrag die Quellen Abhängiger Bibliotheken in ein Eclipse-Projekt eingebunden:


			&#60;plugin&#62;
				&#60;groupId&#62;org.apache.maven.plugins&#60;/groupId&#62;
				&#60;artifactId&#62;maven-eclipse-plugin&#60;/artifactId&#62;
				&#60;version&#62;2.4&#60;/version&#62;
				&#60;configuration&#62;
					&#60;downloadSources&#62;true&#60;/downloadSources&#62;
  [...]]]></description>
			<content:encoded><![CDATA[<p>Wer seine Projekte mit <a href="http://maven.apache.org/">Maven</a> konfiguriert kommt in den Genuss, mit den passenden Plugins gleich die IDE-Konfiguration für seine Projekte geliefert zu bekommen.</p>
<p>Am bekanntesten dürfte dabei das <a href="maven.apache.org/plugins/maven-eclipse-plugin/">maven-eclipse plugin sein</a>.<br />
Dieses erlaubt in der <code><configuration></code> &#8211; Sektion eine Menge feiner Zusatzeinstellungen. Unter anderem werden mit folgendem Eintrag die Quellen Abhängiger Bibliotheken in ein Eclipse-Projekt eingebunden:<br />
<span id="more-17"></span></p>
<pre class="brush: xml;">
			&lt;plugin&gt;
				&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
				&lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
				&lt;version&gt;2.4&lt;/version&gt;
				&lt;configuration&gt;
					&lt;downloadSources&gt;true&lt;/downloadSources&gt;
                                        ...
                                &lt;/configuration&gt;
                         &lt;/plugin&gt;
</pre>
<p>Im Gegenzug kann man auch die eigenen Quellen als jar-File während der jar-Phase generieren lassen und mit in das distribution-repository deployen:</p>
<pre class="brush: xml;">
&lt;build&gt;
 ....
  &lt;plugins&gt;
      ...
	&lt;plugin&gt;
		&lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
		&lt;executions&gt;
			&lt;execution&gt;
				&lt;id&gt;attach-sources&lt;/id&gt;
				&lt;goals&gt;
					&lt;goal&gt;jar&lt;/goal&gt;
				&lt;/goals&gt;
			&lt;/execution&gt;
		&lt;/executions&gt;
	&lt;/plugin&gt;
     ...
  &lt;/plugins&gt;
 ...
&lt;/build&gt;
</pre>
<p>Ein grosse Freude, insbesondere beim Debugging&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://olafsblog.sysbsb.de/bibliotheks-sourcecode-mit-maven-in-eclipse-integrieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

