Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  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.
  4. Under Preferences > Java > Code Style > Code Templates, import etc/eclipse/codetemplates.xml.
  5. Under Preferences > Java > Code Style > Clean Up, import /etc/eclipse/CXFCleanUp.xml.
  6. Under Preferences > Java > Code Style > Formatter, import /etc/eclipse/CXFCodeFormatter.xml.
  7. Under Preferences > Java > Code Style > Organize Imports, import /etc/eclipse/CXF.importorderpreferences file.  In Eclipse, choose File > Import > General > Preferences.  In the dialog, select browse and choose to view all files (.).  Select etc/eclipse.prefs.  Click the Finish button to perform the import.
  8. Install M2Eclipse (at least 0.12) itself. Sonatype publishes instructions here.
  9. Install the Eclipse PMD and Eclipse Checkstyle Plug-ins from here and here , respectively.
  10. Install Benson Margulies' Checkstyle configurator and PMD configurators from here.
  11. Use the 'import' option from the m2eclipse menu to import the desired CXF modules making sure to expand the Advanced menu and enter "m2eclipse" in the Profiles field.
    1. NOTE: The 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.
    Use the 'import' option from the m2eclipse menu, and stand back
    1. .  The m2eclipse profile disables this custom rule.  If you do not enable the m2eclipse profile, the import will fail with a warning about being unable to locate the rule class.