Merge pull request #5122 from adangel/issue-5120-cli-designer

[cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME
This commit is contained in:
Juan Martín Sotuyo Dodero 2024-07-19 08:00:51 -03:00 committed by GitHub
commit f28a3e6922
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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\*
)