Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start with Eclipse Helios
  2. Edit your config.ini (on MacOSX, perhaps eclipse.ini) to configure at least 512m of PermGen space. We hope to reduce this requirement.
  3. Setup the Eclipse workspace by importing the predefined CXF settings.
    1. Under Preferences > Java > Code Style > Code Templates, import etc/eclipse/codetemplates.xml.
    2. Under Preferences > Java > Code Style > Clean Up, import /etc/eclipse/CXFCleanUp.xml.
    3. Under Preferences > Java > Code Style > Formatter, import /
    Import
    1. etc/eclipse
    .prefs from the CXF tree. This sets up all the workspace level preferences
    1. /CXFCodeFormatter.xml.
    2. Under Preferences > Java > Code Style > Organize Imports, import /etc/eclipse/CXF.importorder.
  4. Install M2Eclipse (at least 0.12) itself. Sonatype publishes instructions here.
  5. Install the Eclipse PMD and Eclipse Checkstyle Plug-ins from here and here , respectively.
  6. Install Benson Margulies' PMD and Checkstyle configurators from hereconfigurator from here.
    1. NOTE: While there is also a PMD configurator available, the CXF build uses a custom rule implementation class.  The Eclipse PMD plug-in cannot locate this custom rule dynamically.  Until a working solution exists, using the PMD configurator is best avoided as it will result in project import failures.
  7. Use the 'import' option from the m2eclipse menu, and stand back.