The initial committers for the DNA project all used, and continue to use, Eclipse for their IDE. Having all developers utilize the same IDE has provided several advantages, including:
We can configure additional warnings or errors to be generated when appropriate during compilation as an aid to further ensure the quality of committed code.
We can use the provided formatting capabilities, with an agreed upon configuration, to ensure code maintains a certain style across the project while minimizing formatting changes that don't have significant impact on the execution of the code but make it difficult to track actual bug fixes and enhancements in change histories.
To ensure we maintain these advantages, we ask all developers (customers writing to the DNA API/SPI, contributors, and committers) to use the Eclipse IDE version 3.4 (Ganymede) when working with DNA, and just as importantly, to import the Eclipse preferences and formatter profile that are provided in the root of the DNA SVN repository trunk:
Import into Eclipse using the File->Import... menu option.
From the Import Preferences wizard, select General->Preferences.
Press Browse... to open the Import from File dialog.
Navigate to eclipse-code-formatter-profile.xml in the SVN trunk folder for DNA on your file system.
Ensure Import all is selected. Note, the text area under Preferences will be empty and the text area under Description will indicate an "Empty list.".
Code generation and Compiler Preferences
Open the Preferences dialog using the Windows->Preferences... menu option.
In the category tree to the left, navigate to Java->Code Style->Formatter.
Press Import... to open the Import Profile dialog.
Navigate to eclipse-preferences.epf in the SVN trunk folder for DNA on your file system.
Press OK (on the Import Profile dialog).
Press OK (on the Preferences dialog).