A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.pmd-code.org/latest/pmd_devdocs_building_netbeans.html below:

Building PMD with Netbeans | PMD Source Code Analyzer

Table of Contents Import PMD Project

This needs to be done only once.

  1. Install Apache Netbeans
  2. Select File > Open Project… and choose the already checked out PMD source folder.
  3. After a while, you should see under “Projects > PMD > Modules” all the modules. You can then open individual projects.
Running Unit Tests

Note: When executing tests, NetBeans actually calls Maven with surefire:test goal.

Running / Debugging PMD

Note:

If you want to run/debug other PMD modules than PMD Java, then you need to add additional dependencies to PMD CLI as scope test, e.g.

        <dependency>
            <groupId>net.sourceforge.pmd</groupId>
            <artifactId>pmd-apex</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
Formatter configuration

Import the code style settings (formatter) so that it conforms with our Checkstyle config. To do that, go to Tool > Options and the use the button “Import…” and the bottom. Choose the file netbeans/formatting.zip from the build-tools repository.

Running the Designer

The designer lives in a separate repository, that you’ll need to fork and clone first: Designer repository

git clone git@github.com:your_user_name/pmd-designer.git
  1. Select File > Open Project… and choose the pmd-designer source folder.
  2. Navigate to class DesignerStarter
  3. Select “Run File”
  4. In the output window at the bottom, click the double yellow arrow to open a “Run Maven” dialog and configure the profiles: “running,with-javafx”
Known Issues

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4