From 621cd0e0137390e16d1ce6df3707575c8419fa39 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 15 Feb 2024 09:01:55 +0100 Subject: [PATCH] Update to use renamed pmd-designer See pmd/pmd-designer#80 --- do-release.sh | 2 +- .../adding_a_new_javacc_based_language.md | 2 +- docs/pages/pmd/userdocs/extending/designer_reference.md | 6 +++--- docs/pages/release_notes.md | 2 ++ pmd-cli/pom.xml | 2 +- pmd-dist/pom.xml | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/do-release.sh b/do-release.sh index 28d9d70e4a..ac43cffdb5 100755 --- a/do-release.sh +++ b/do-release.sh @@ -281,7 +281,7 @@ echo "Then proceed with releasing pmd-designer..." echo "" echo echo "Press enter to continue when pmd-designer is available in maven-central..." -echo "." +echo "." echo echo "Note: If there is no new pmd-designer release needed, you can directly proceed." read -r diff --git a/docs/pages/pmd/devdocs/major_contributions/adding_a_new_javacc_based_language.md b/docs/pages/pmd/devdocs/major_contributions/adding_a_new_javacc_based_language.md index fe5caf5aec..dc5981e86e 100644 --- a/docs/pages/pmd/devdocs/major_contributions/adding_a_new_javacc_based_language.md +++ b/docs/pages/pmd/devdocs/major_contributions/adding_a_new_javacc_based_language.md @@ -252,7 +252,7 @@ This can be achieved with Rule Designer: * Fork and clone the [pmd/pmd-designer](https://github.com/pmd/pmd-designer) repository. * Add a syntax highlighter implementation to `net.sourceforge.pmd.util.fxdesigner.util.codearea.syntaxhighlighting` (you could use Java as an example). * Register it in the `AvailableSyntaxHighlighters` enumeration. - * Now build your implementation and place the `target/pmd-ui--SNAPSHOT.jar` to the `lib` directory inside your `pmd-bin-...` distribution (you have to delete old `pmd-ui-*.jar` from there). + * Now build your implementation and place the `target/pmd-designer--SNAPSHOT.jar` to the `lib` directory inside your `pmd-bin-...` distribution (you have to delete old `pmd-designer-*.jar` from there). ## Optional features diff --git a/docs/pages/pmd/userdocs/extending/designer_reference.md b/docs/pages/pmd/userdocs/extending/designer_reference.md index 33af658835..c6ba0a79cf 100644 --- a/docs/pages/pmd/userdocs/extending/designer_reference.md +++ b/docs/pages/pmd/userdocs/extending/designer_reference.md @@ -3,7 +3,7 @@ title: The rule designer short_title: Rule designer tags: [extending, userdocs] summary: "Learn about the usage and features of the rule designer." -last_updated: December 2023 (7.0.0) +last_updated: February 2024 (7.0.0) permalink: pmd_userdocs_extending_designer_reference.html author: Clément Fournier --- @@ -25,7 +25,7 @@ If the bin directory of your PMD distribution is on your shell's path, then you windows="pmd.bat designer" %} -{% include note.html content="pmd-ui.jar is not a runnable jar, because it doesn't include any PMD language module, or PMD Core. " %} +{% include note.html content="pmd-designer.jar is not a runnable jar, because it doesn't include any PMD language module, or PMD Core. " %} This is to allow easy updating, and let you choose the dependencies you're interested in. @@ -36,7 +36,7 @@ standard PMD startup scripts, which setups the classpath with the available PMD ### Updating The latest version of the designer currently **works with PMD 7.0.0 and above**. You can simply replace -pmd-ui-7.X.Y.jar with the [latest build](https://github.com/pmd/pmd-designer/releases) in the installation +pmd-designer-7.X.Y.jar with the [latest build](https://github.com/pmd/pmd-designer/releases) in the installation folder of your PMD distribution, and run it normally. Note that updating may cause some persisted state to get lost, for example the code snippet. diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index 6dd6099c26..81485fd438 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -264,6 +264,7 @@ The rules have been moved into categories with PMD 6. * [#4749](https://github.com/pmd/pmd/pull/4749): Fixes NoSuchMethodError on processing errors in pmd-compat6 * [#4776](https://github.com/pmd/pmd/issues/4776): \[ci] Upgrade to ruby 3 * [#4796](https://github.com/pmd/pmd/pull/4796): Remove deprecated and release rulesets + * [#4823](https://github.com/pmd/pmd/pull/4823): Update to use renamed pmd-designer * apex * [#3766](https://github.com/pmd/pmd/issues/3766): \[apex] Replace Jorje with fully open source front-end * apex-performance @@ -1220,6 +1221,7 @@ See also [Detailed Release Notes for PMD 7]({{ baseurl }}pmd_release_notes_pmd7. * [#4749](https://github.com/pmd/pmd/pull/4749): Fixes NoSuchMethodError on processing errors in pmd-compat6 * [#4776](https://github.com/pmd/pmd/issues/4776): \[ci] Upgrade to ruby 3 * [#4796](https://github.com/pmd/pmd/pull/4796): Remove deprecated and release rulesets + * [#4823](https://github.com/pmd/pmd/pull/4823): Update to use renamed pmd-designer * ant * [#4080](https://github.com/pmd/pmd/issues/4080): \[ant] Split off Ant integration into a new submodule * core diff --git a/pmd-cli/pom.xml b/pmd-cli/pom.xml index 81fc5d26b2..9efefa2cbc 100644 --- a/pmd-cli/pom.xml +++ b/pmd-cli/pom.xml @@ -32,7 +32,7 @@ net.sourceforge.pmd - pmd-ui + pmd-designer ${pmd-designer.version} diff --git a/pmd-dist/pom.xml b/pmd-dist/pom.xml index fdd6d93f97..998ed84cf8 100644 --- a/pmd-dist/pom.xml +++ b/pmd-dist/pom.xml @@ -146,7 +146,7 @@ net.sourceforge.pmd - pmd-ui + pmd-designer ${pmd-designer.version}