About

Jadira is the home for Sousan and Chris Pheby's open source projects. These are reusable open source Java modules that provide first class solutions using the most effective current JEE technologies.

Search
Tag Cloud
...
Login
« Perils of Maven's Implicit Reactor | Main | Swing Layout Managers »
Saturday
Jun272009

Eclipse Galileo

Eclipse Galileo is the simultaneous release of Eclipse 3.5 and a bundle of Eclipse projects.

This post updates my previous quick configuration howto for Ganymede, helping to quickly get up and running with the most useful Eclipse plugins. Any suggestions for how this can be improved are appreciated as always. The instructions are for Windows - extrapolate as required. With the original Galileo release, it is currently necessary to use pre-release versions of Spring Source Tools Suite, JBoss Tools and M2Eclipse.

1. Download eclipse-SDK-3.5.2-win32-x86_64.zip for 64-bit Windows, or eclipse-SDK-3.5.2-win32.zip for 32-bit Windows. These can be found via http://download.eclipse.org/eclipse/downloads/

2. Make a folder for Eclipse somewhere called 'Eclipse', and unzip the Eclipse SDK zip file to the parent folder. I typically create c:\Java\Eclipse and unzip to c:\Java

3. Create a shortcut to Eclipse, for example:

C:\Java\Eclipse\eclipse.exe -clean -vm "C:\Java\JSE6\bin" -vmargs -Xmx2048m -XX:MaxPermSize=256m

or, potentially using Server VM / ergonomics:

C:\Java\Eclipse\eclipse.exe -clean -vm "C:\Java\JSE6\bin" -vmargs -server -Dcom.sun.management.jmxremote -Xmx2048m -XX:MaxPermSize=256M -XX:+UseParallelGC -XX:+UseParallelOldGC

(where the ‘vm’ argument points to your appropriate Java runtime with Eclipse - this should be at least version 5.0 and should be 32-bit or 64-bit as appropriate).

NB. Best practice is to point to a JDK rather than a JRE location.

4. Next, search for new features using the Galileo Updates (with "Show the latest version" selected).

Pick the appropriate platform features - you can safely select everything. Typical selection could be Business Intelligence Reporting and Charting, Database Development, Programming Languages, Test and Performance Web XML and Java EE Development.

5. After restarting again, the following update sites can be used to add Mylyn Extras, AspectJ Developer Tools, SvnKit, SubClipse, M2 Eclipse, QuantumDB, PMD, Spring Tools Suite, JBoss Tools, and Log4E:

Mylyn http://download.eclipse.org/tools/mylyn/update/e3.4 (all except C/C++ Development, Mylyn SDK and Mylyn WikiText SDK)
Mylyn Extras http://download.eclipse.org/tools/mylyn/update/extras (except Mylyn Extras SDK)

AJDT http://download.eclipse.org/tools/ajdt/35/update

SvnKit http://eclipse.svnkit.com/1.3.x/
SubClipse http://subclipse.tigris.org/update_1.6.x

Eclipse GEF (GEF, Zest and Draw2d - but not SDKs or Source Features) http://download.eclipse.org/tools/gef/updates/releases/
M2 Eclipse http://m2eclipse.sonatype.org/sites/m2e
QuantumDB http://quantum.sourceforge.net/update-site
Qwickie http://qwickie.googlecode.com/svn/trunk/qwickie.updatesite/

JBoss Tools http://download.jboss.org/jbosstools/updates/stable/galileo/ (only Context and Dependency Injection Tools, Freemarker IDE, Hibernate Tools, JBoss Tools RichFaces, JBossAS Tools, SeamTools, XULRunner).
then restart

PMD http://pmd.sourceforge.net/eclipse (only PMD for Eclipse 3)
Groovy http://dist.springsource.org/release/GRECLIPSE/e3.5/
Eclipse WebTools Platform (Patches, Web Tools Platform (3.1.2), http://download.eclipse.org/webtools/updates
EclipseLink (JPA) http://download.eclipse.org/rt/eclipselink/updates/2.0.1/ NB You may need to download the OSGi distribution zip and manually extract javax.persistence.*.jar files if you cannot install from the update site. This is sufficient for SpringSource Tools Suite to install.
Eclipse Target Management Project (Enabling Features and RSE_Runtime) http://download.eclipse.org/dsdp/tm/updates/

SpringSource Tool Suite http://dist.springsource.com/release/TOOLS/update/e3.5 (select only SpringIDE components)
SpringSource Tool Suite http://dist.springsource.com/release/TOOLS/update/e3.5 (select only dm Server Tools)
SpringSource Tool Suite http://dist.springsource.com/release/TOOLS/update/e3.5 (select all available components). NB Spring Source Tool Suite Package may not install and should be deselected.
then restart

Log4E http://log4e.jayefem.de/update (note that the free version cannot be installed using the update site)
Azzurri Clay http://www.azzurri.co.jp/eclipse/plugins
JavaCC Plugin http://eclipse-javacc.sourceforge.net/
then restart

Apache Directory Studio http://directory.apache.org/studio/update/1.x

TestNG http://beust.com/eclipse

6. Other interesting plugins you might want to consider could include:

Checkstyle http://eclipse-cs.sourceforge.net/update/
LuntClipse http://sourceforge.net/project/showfiles.php?group_id=113344&package_id=163970
LogWatcher http://graysky.sourceforge.net/
Color Editor http://www.gstaff.org/colorEditor/download.html

7. A couple of plugins are best installed by hand:

Download Jar Class Finder version 2.1.0 from http://www.alphaworks.ibm.com/tech/jarclassfinder/download and copy the Jar to the Eclipse/dropins/plugins subdirectory.
Download Tarlog Plugin 1.4.0 from http://code.google.com/p/tarlog-plugins/ (I used tarlog.eclipse.plugins_1.4.0.jar) and copy the Jar to the Eclipse/dropins/plugins subdirectory.
Download Bnd from http://www.aqute.biz/Code/Download and copy the Jar to the Eclipse/dropins/plugins subdirectory.

8. Configure eclipse.ini, for example, with the following:

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx1536m

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (2)

Refreshed these notes for SR1

October 17, 2009 | Registered CommenterChris

Updated for Eclipse 3.5.2

April 21, 2010 | Registered CommenterChris

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>