Skip to content

Setup development environment

David Renz edited this page Jun 9, 2016 · 16 revisions
  1. Install the latest Eclipse IDE for Java Developers (http://www.eclipse.org/downloads/).

  2. Fork PMD (https://github.com/pmd/pmd)

  3. Connect your eclipse with the master branch of your PMD repo. [] (https://raw.githubusercontent.com/Up2Go/codeclimate-apexmetrics/master/resources/wiki/CloneGitRepo.png)

  4. Step 5 and 6 are the easiest way to get the project location. You can skip theses steps if you got already got the location, it is /Users/usr/git/pmd usually.

  5. Import the project as general project.

  6. Delete the project, uncheck the Delete project contents on disk and copy the project location.

  7. Import them as Existing Maven Projects

  8. Paste the copied project location from step 6 in the Root Directory field, select all PMD modules and import them.

  9. Let eclipse install the missing plugins. Sometimes there are some errors and warnings, especially in the pmd-scala module, but that should be fine as long as you didn't get errors during the building process later.