utPLSQL-cli icon indicating copy to clipboard operation
utPLSQL-cli copied to clipboard

missing double quotes for variable JAVACMD in utplsql.bat

Open infyrana opened this issue 5 years ago • 1 comments

In line 85 the double quotes are missing for the JAVACMD variable.

I need to use the client in a non accessible build agent server environment remotely where java home doesn't work and I needed to set JAVACMD (or JAVA_HOME) from outside the script. As the path contained a space this didn't work until I added the quotes to the utplsql.bat file. Putting double quotes around the path from outside the script also didn't work as this let the check "if "%JAVACMD%"==""" in line 71 fail

Maybe there would have been another way or I did something else wrong, but at least that was how I was able to solve the issue

infyrana avatar Feb 21 '20 14:02 infyrana

Hm, the .bat is created by a maven plugin. I'll check if we can include an after-adjustment.

pesse avatar Mar 10 '20 20:03 pesse