[cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME

Fixes #5120
This commit is contained in:
Andreas Dangel 2024-07-19 10:16:33 +02:00
parent 14238ee93e
commit 8c7a5d0664
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
2 changed files with 5 additions and 1 deletions

View File

@ -38,6 +38,8 @@ This is a {{ site.pmd.release_type }} release.
* [#5086](https://github.com/pmd/pmd/pull/5086): \[plsql] Fixed issue with missing optional table alias in MERGE usage
* [#5087](https://github.com/pmd/pmd/pull/5087): \[plsql] Add support for SQL_MACRO
* [#5088](https://github.com/pmd/pmd/pull/5088): \[plsql] Add support for 'DEFAULT' clause on the arguments of some oracle functions
* cli
* [#5120](https://github.com/pmd/pmd/issues/5120): \[cli] Can't start designer under Windows
### 🚨 API Changes

View File

@ -67,8 +67,10 @@ if %_needjfxlib% EQU 1 (
)
rem The wildcard will include only jar files, but we need to access also
rem property files such as javafx.properties that lay bare in the dir
set pmd_classpath=%TOPDIR%\conf;%TOPDIR%\lib\*;%JAVAFX_HOME%\lib\*;%JAVAFX_HOME%\lib\
rem note: no trailing backslash, as this would escape a following quote when %pmd_classpath% is used later
set pmd_classpath=%TOPDIR%\conf;%TOPDIR%\lib\*;%JAVAFX_HOME%\lib\*;%JAVAFX_HOME%\lib
) else (
rem note: no trailing backslash, as this would escape a following quote when %pmd_classpath% is used later
set pmd_classpath=%TOPDIR%\conf;%TOPDIR%\lib\*
)