Wednesday Sep 19, 2012

Speedup Eclipse Juno

To my mind, the new Eclipse release 4.2 (Juno) is a little bit slower than Eclipse Indego.

To make it faster I changed the following things:

  1. disable validators
    I disabled all Validators until 'Classpath Dependency Validator', 'Facelet HTML Vlvalidator' and 'HTML Syntax Validator'
  2. disable maven index update
    I disabled also the maven plugin feature 'Download repository index updates on startup'

 


Sunday Jul 22, 2012

Eclipse Juno - Maven support

The new Eclipse build 4.2 (Eclipse Juno) is out and I started using it for my own Maven based Java EE projects. After playing around with several plugins concerning the maven integration, I came to the conclusion that the Maven-WTP integration in Eclipse is still something you did not need and you should not use. It slows down my complete workspace containing different multi-module maven projects. Maybe its only my IDE installation of Eclipse 4.2, but I recognised a permanent CPU peak as result of a never ending WTP Builder process. After I removed the "Maven Integration for WTP" Eclipse Juno works again very fast.

So here is my recommendation for plugins that you should install in Eclipse 4.2 (Classic) if you are developing Maven based Java EE projects:

  • JavaServer Faces Tools (JSF) Project (for JSF/Faclets support - much better than in Eclipse 3.7)
  • JST Server Adapters (for GlassFish Server Adapters - see also my blog about GlassFish 3.2 support)
  • m2e - Maven Integration for Eclipse (the general and pure maven integration)
  • Subversive Integration for the M2Eclipse Project (necessary if you work with SVN - see another blog entry)

And do not install the "Maven Integration for WTP" plugin.

If you are looking for a simple Hotdeployment Plugin for Eclipse/GlassFish take a look at Manik hot-deploy.


Saturday Jul 21, 2012

Eclipse Juno - JST & Glassfish

The J2EE Server Tools providing a comfortable way to integrate the Java EE Servers (e.g. GlassFish) into the Eclipse IDE. For the latest release of Eclipse (4.2 - Juno) the integration is a little bit tricky. 

First you need to instal the JST plugin via menu "Help>install new Software" and search for "server". Select the "JST Server Adapters" and install it.

Next you need to add a extra update site to install the latest GlassFish adapters. Add the followin Update Site URL:

http://download.java.net/glassfish/eclipse/juno

Read also the following blog from Vince Kreamer for deails:

https://blogs.oracle.com/vkraemer/entry/internal_3_1_2_runtime

 

 

 

Eclipse Juno - Maven & Subversion

The new Eclipse release (4.2) is out and looks great! To run a first IDE test I tried to checkout some  maven projects from my svn repository. M2E and the Subversive Plugin are not installed in the Eclipse classic platform (can't understand why) but can be easily installed manually from the menu "->Help->install new Software"

After restarting Eclipse you can start importing your maven project with "->File->new-> project->Checkout Maven Projects form SCM"

 The problem here is hat the SVN connector for m2e is missing and can not be installed by the dialog showing up all available maven add ons. To solve this problem go again to install new software manually and add the following update URL:

http://community.polarion.com/projects/subversive/download/integrations/update-site/  

This updatesite includes the missing svn/m2e connector. After a restart you can checkout your maven project from a SVN repository using the Eclispe subversive plugin.