Code in this course will be developed using Eclipse and conform to standard Java 6.
All code given here is also available for download from within Eclipse, using Duke's Ambient plug-in, via
http://www.cs.duke.edu/courses/compsci308/current/snarf/
To facilitate working on team projects, you are expected to use GIT to provide source control access to your projects. You will also need a host for your project; we suggest using GoogleCode because it has additional tools to help others give you feedback on your code.
To facilitate automating the checking of many basic coding issues, we will use a tool called CheckStyle on all code in your source repository. To help manage this process, download and import the following properties into Eclipse in addition to the CheckStyle plug-in.
- Formatting rules for Eclipse to use when re-formatting your code (
Preferences -> Java -> Code Style -> Formatter) - Clean up for Eclipse to use when cleaning up your code (
Preferences -> Java -> Code Style -> Clean Up) - CheckStyle rules for Eclipse to use when re-formatting your code (
Preferences -> Checkstyle)