Archive for the ‘eclipse’ Category

Configuring Eclipse Ganymede with subversion in Ubuntu 8.04

Posted in: J2EE, SCM, System engineering, eclipse, java, subclipse, subversion, subversive, ubuntu.

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 ways two achieve this – both of which i cannot recommend because they are hacks or bad compromises.
Read the rest of “Configuring Eclipse Ganymede with subversion in Ubuntu 8.04″

7 Comments

OutOfMemoryException (PermGenSpace) with Eclipse JEE

Posted in: J2EE, eclipse, java.

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 fix or workaround for the problem is assigning more memory to the PermGenSpace while increasing the amount of heapspace.
The following entries in the eclipse.ini (located in the eclipse installation root folder) did it for me:


-Xms40m
-Xmx512m
-XX:MaxPermSize=96m

Not that this workaround will only work with sun’s Java distribution (which is the most common), but not with IBM’s, since the latter does not support setting the maxPermSize with -XX:MaxPermSize.

No Comments

Spring tools für eclipse

Posted in: J2EE, eclipse, java, spring.

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 “content assists” für die spring Konfiguration.

spring ide im XML Editor von Eclipse

Sehr nützlich!

No Comments

Search & Replace in Eclipse (mit Regex)

Posted in: eclipse, java.

Die Search & Replace-Funktionen von Eclipse ist recht gut versteckt.
Es gibt zwei Arten, Find & Replace aufzurufen:

1. Find & Replace in aktuell geöffneter Datei

Der einfache Find & Replace-Dialog lässt sich mit strg+f öffnen.
Siehe auch in der eclipse SDK help.

2. Find & Replace über beliebige Dateien im Workspace / Projekt

Dazu den Suchdialog mit strg+h öffnen oder über das “search” – Menü öffnen.
Read the rest of “Search & Replace in Eclipse (mit Regex)”

3 Comments

Bibliotheks-Sourcecode mit maven in Eclipse integrieren

Posted in: eclipse, java, maven 2.

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 – Sektion eine Menge feiner Zusatzeinstellungen. Unter anderem werden mit folgendem Eintrag die Quellen Abhängiger Bibliotheken in ein Eclipse-Projekt eingebunden:
Read the rest of “Bibliotheks-Sourcecode mit maven in Eclipse integrieren”

No Comments