Merge pull request #3726 from adangel:issue-3328-designer-bat
[core] Handle quotes correctly in designer.bat and other *.bat files #3726 * pr-3726: [core] Handle quotes correctly in designer.bat and other *.bat files
This commit is contained in:
commit
93811d3449
@ -41,6 +41,8 @@ not support all features of the latest EcmaScript standard.
|
||||
|
||||
### Fixed Issues
|
||||
|
||||
* core
|
||||
* [#3328](https://github.com/pmd/pmd/issues/3328): \[core] designer.bat errors when JAVAFX_HOME contains spaces
|
||||
* java
|
||||
* [#3698](https://github.com/pmd/pmd/issues/3698): \[java] Error resolving Symbol Table
|
||||
* java-bestpractices
|
||||
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
set TOPDIR=%~dp0..
|
||||
set TOPDIR="%~dp0.."
|
||||
set OPTS=
|
||||
set MAIN_CLASS=net.sourceforge.pmd.util.treeexport.TreeExportCli
|
||||
|
||||
java %PMD_JAVA_OPTS% -classpath "%TOPDIR%\lib\*" %OPTS% %MAIN_CLASS% %*
|
||||
java %PMD_JAVA_OPTS% -classpath %TOPDIR%\lib\* %OPTS% %MAIN_CLASS% %*
|
||||
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
set TOPDIR=%~dp0..
|
||||
set TOPDIR="%~dp0.."
|
||||
set OPTS=
|
||||
set MAIN_CLASS=net.sourceforge.pmd.util.viewer.Viewer
|
||||
|
||||
java %PMD_JAVA_OPTS% -classpath "%TOPDIR%\lib\*" %OPTS% %MAIN_CLASS% %*
|
||||
java %PMD_JAVA_OPTS% -classpath %TOPDIR%\lib\* %OPTS% %MAIN_CLASS% %*
|
||||
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
set TOPDIR=%~dp0..
|
||||
set TOPDIR="%~dp0.."
|
||||
set OPTS=
|
||||
set MAIN_CLASS=net.sourceforge.pmd.cpd.CPD
|
||||
|
||||
java %PMD_JAVA_OPTS% -classpath "%TOPDIR%\lib\*" %OPTS% %MAIN_CLASS% %*
|
||||
java %PMD_JAVA_OPTS% -classpath %TOPDIR%\lib\* %OPTS% %MAIN_CLASS% %*
|
||||
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
set TOPDIR=%~dp0..
|
||||
set TOPDIR="%~dp0.."
|
||||
set OPTS=
|
||||
set MAIN_CLASS=net.sourceforge.pmd.cpd.GUI
|
||||
|
||||
java %PMD_JAVA_OPTS% -classpath "%TOPDIR%\lib\*" %OPTS% %MAIN_CLASS% %*
|
||||
java %PMD_JAVA_OPTS% -classpath %TOPDIR%\lib\* %OPTS% %MAIN_CLASS% %*
|
||||
|
@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
set TOPDIR=%~dp0..
|
||||
set TOPDIR="%~dp0.."
|
||||
set OPTS=
|
||||
set MAIN_CLASS=net.sourceforge.pmd.util.fxdesigner.DesignerStarter
|
||||
|
||||
@ -42,10 +42,10 @@ if %_needjfxlib% EQU 1 (
|
||||
pause
|
||||
exit
|
||||
)
|
||||
set "classpath=%TOPDIR%\lib\*;%JAVAFX_HOME%\lib\*"
|
||||
set classpath=%TOPDIR%\lib\*;%JAVAFX_HOME%\lib\*
|
||||
) else (
|
||||
set "classpath=%TOPDIR%\lib\*"
|
||||
set classpath=%TOPDIR%\lib\*
|
||||
)
|
||||
|
||||
|
||||
java %PMD_JAVA_OPTS% %jreopts% -classpath "%classpath%" %OPTS% %MAIN_CLASS% %*
|
||||
java %PMD_JAVA_OPTS% %jreopts% -classpath %classpath% %OPTS% %MAIN_CLASS% %*
|
||||
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
set TOPDIR=%~dp0..
|
||||
set TOPDIR="%~dp0.."
|
||||
set OPTS=
|
||||
set MAIN_CLASS=net.sourceforge.pmd.util.designer.Designer
|
||||
|
||||
java %PMD_JAVA_OPTS% -classpath "%TOPDIR%\lib\*" %OPTS% %MAIN_CLASS% %*
|
||||
java %PMD_JAVA_OPTS% -classpath %TOPDIR%\lib\* %OPTS% %MAIN_CLASS% %*
|
||||
|
@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
set TOPDIR=%~dp0..
|
||||
set TOPDIR="%~dp0.."
|
||||
set OPTS=
|
||||
set MAIN_CLASS=net.sourceforge.pmd.PMD
|
||||
|
||||
java %PMD_JAVA_OPTS% -classpath "%TOPDIR%\lib\*" %OPTS% %MAIN_CLASS% %*
|
||||
java %PMD_JAVA_OPTS% -classpath %TOPDIR%\lib\* %OPTS% %MAIN_CLASS% %*
|
||||
|
Loading…
x
Reference in New Issue
Block a user