Skip to content

The Rule Designer is a graphical tool that helps PMD users develop their custom rules

License

Notifications You must be signed in to change notification settings

eofferma/pmd-designer

 
 

Repository files navigation

PMD Rule Designer

Build Status Maven Central Join the chat at https://gitter.im/pmd/pmd-designer

The Rule Designer is a graphical tool that helps PMD users develop their custom rules. Main features:

testing-designer

Installation

The designer is part of PMD's binary distributions. To install a distribution, see the documentation page about installing PMD.

The app needs JRE 1.8 or above to run. Be aware that on JRE 11+, the JavaFX distribution should be installed separately. Visit the download page to download a distribution, extract it, and set the JAVAFX_HOME environment variable.

If the bin directory of your PMD distribution is on your shell's path, then you can launch the app with

  • run.sh designer on Linux/ OSX
  • designer.bat on Windows

Alternatively, you can launch the program "from source" with Maven.

  • $ ./mvnw -Prunning exec:java will launch the program after compiling it, using the JavaFX distribution of your system
  • $ ./mvnw -Prunning,with-javafx exec:java will also add JavaFX dependencies on your classpath. You can change the version of those dependencies with eg -Dopenjfx.version 13 for OpenJFX 13. See the list of available versions here.

Updating

The latest version of the designer currently works with PMD 6.27.0 and above. You can simply replace pmd-ui-6.X.Y.jar with the latest build in the installation folder of your PMD distribution.

Usage

Building from source/ contributing

See CONTRIBUTING.md for instructions to build the project from source and setup your IDE.

About

The Rule Designer is a graphical tool that helps PMD users develop their custom rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.3%
  • Less 3.2%
  • Lex 2.0%
  • Kotlin 1.1%
  • Shell 0.4%