Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Installing Eclipse: Some of my Favourite Plug-ins

DZone's Guide to

Installing Eclipse: Some of my Favourite Plug-ins

· Java Zone
Free Resource

Managing a MongoDB deployment? Take a load off and live migrate to MongoDB Atlas, the official automated service, with little to no downtime.

I just reinstalled a fresh version of Eclipse onto my workstation. I switch between IDEs a fair bit, depending on what I am doing. Eclipse is great for Maven work, mainly because of the m2eclipse plugin that just keeps getting better and better. IntelliJ, on the other hand, is king when it comes to Groovy and Grails. Here, I will run through how I typically set up my Eclipse environment. So, here is the procedure:
  • Download the latest Eclipse EE package (in this case, Ganymede SR1).
  • Update the pre-installed plugins to the latest version.
  • Install Subclipse (http://subclipse.tigris.org/update_1.4.x) - very cool support for Subversion 1.5 branching and merging.
  • I skip the AJDT plugin, as I don't use AspectJ for my current projects. If you are, you might want to include this one to benefit from the maven-aspectj-plugin integration.
  • Install M2Eclipse (http://m2eclipse.sonatype.org/update-dev/) - note this is the dev snapshot - I like living dangerously ;-).
That's it for the basic stuff. With this, you can start developing. But the setup still lacks a bit of character. So I usually add a few more plugins.

 

I'm a big fan of code quality and code metrics, so I add the standard code quality-related plugins:

  • Checkstyle (http://eclipse-cs.sourceforge.net/update)
  • PMD (http://pmd.sourceforge.net/eclipse)
  • FindBugs (http://findbugs.cs.umd.edu/eclipse/)
  • ECLEmma (http://update.eclemma.org/) - nice light-weight code coverage from within Eclipse
  • (and/or) Clover (http://update.atlassian.com/eclipse/clover) - if you are serious about code coverage ;-)
At the moment, I don't bother installing Crap4j, as it doesn't work on Ganymede yet.

 

I do occasionally do some work in Groovy in Eclipse (though IntelliJ is nicer on this front), so I add some Groovy support:

  • Groovy Eclipse plugin (http://dist.codehaus.org/groovy/distributions/update/)

 

I like to monitor my CI servers from within my IDE. For Hudson, I use this one:

  • Hudson Eclipse plugin (http//hudson-eclipse.googlecode.com/svn/trunk/hudson-update/)

 

I'm not adverse to a bit of commercial software, if it improves my productivity and doesn't require me to take out another mortgage. So I may well install the following commercial plugins:

  • JUnitMax (the tool is still a bit rough in parts, but those unit test failures marked with red crosses, just like compilation failures, really are quite addictive).
  • Tasktop (sort of like Mylyn on steroids)

 

With this, I have an operational development environment. I might install others as the need arises, but this gets me up and running in Eclipse with a minimum of fuss.

 From http://weblogs.java.net/blog/johnsmart

MongoDB Atlas is the easiest way to run the fastest-growing database for modern applications — no installation, setup, or configuration required. Easily live migrate an existing workload or start with 512MB of storage for free.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}