Dashboard > Development > Development > Eclipse
Eclipse Log In View a printable version of the current page.

Added by Christiaan Fluit , last edited by Herko ter Horst on 2009-02-03  (view change)
Labels: 
(None)

At Aduna, we use Eclipse as our IDE.

Using Maven projects in Eclipse

Prerequisites:

Recommended:

  • Subclipse plugin installed in Eclipse. The Subclipse plugin can be installed from within Eclipse by following these instructions. For Eclipse 3.2, specify the update location according to these instructions.
  • Set Eclipe to show Working Sets as Top Level Elements in the Package Explorer of the Java perspective.
  • Setup Maven as an external tool.

Support for Spring in Eclipse

This allows for refactoring and "Ctrl-click" to work for Spring XML configuration files. In addition, it enables the Spring Explorer, which shows a graphical rendering of the beans configured in a Spring application context.

Prerequisites:

Configuring Spring IDE from Maven

  • Some of our projects have already been configured to use Spring IDE through the Maven Eclipse plugin. In this case, executing 'mvn eclipse:eclipse' will have the same result as the manual procedure outlined below.

Manually adding Spring IDE support to a project:

  • Right-click on the project
  • Select Spring Tools->Add Spring Project Nature
  • Right-click on the project
  • Select Properties
  • Select Spring->Beans support
  • Click Add...
  • Point to the Spring XML configuration file
Anonymous

My eclipse suddenly lost all maven dependencies entries of a multi module project.
Maybe a bug in m2eclipse as it happended after (at least) maven udpate dependencies.
He also lost connection between some module specifically the service an webapp one, consistently saying he could not find claxx X, proposing to add the service module to the class path to no avail.
Rebooting did not help, nor updage dependencies nor both.
mvn eclipse:clean eclispe:eclipse then reopening worked better, and maven dependencies node is back. I tried to find any possible solutions, downloaded some articles by http://rapid4me.com SE, but still didn't manage to cope with this(

Reply To This
Add Comment
Powered by a free Atlassian Confluence Open Source Project License granted to Aduna Open Source. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators