THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Start with Eclipse Helios
- Edit your config.ini (on MacOSX, perhaps eclipse.ini) to configure at least 512m of PermGen space. We hope to reduce this requirement.
- Setup the Eclipse workspace by importing the predefined CXF settings.
- Under Preferences > Java > Code Style > Code Templates, import etc/eclipse/codetemplates.xml.
- Under Preferences > Java > Code Style > Clean Up, import /etc/eclipse/CXFCleanUp.xml.
- Under Preferences > Java > Code Style > Formatter, import /etc/eclipse/CXFCodeFormatter.xml. 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.
- Install M2Eclipse (at least 0.12) itself. Sonatype publishes instructions here.
- Install the Eclipse PMD and Eclipse Checkstyle Plug-ins from here and here , respectively.
- Install Benson Margulies' Checkstyle configurator and PMD configurators from here.
- 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.
- 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.
- . 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.