Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
A user had mentioned problems on Windows due to his file paths containing special characters like dashes and spaces. Fully quoting in the command prompt or escaping will solve this.
pdrangeid
12:04 PM
Just an FYI - trying to setup my best practices for my HOP config / folders enviro variables etc... I wanted to try setting up my hop config on my windows box to use my OneDrive: SETX HOP_CONFIG_FOLDER "%ONEDRIVE%\hop-config" Unfortunately the way my org was setup it has a silly path like: c:\users\paul\onedrive - blue net\hop-config. I think the space (or maybe the dash) causes the hop-gui.bat to really not like adding that option. (fails to start the java VM) I was able to fix it by quoting the enviroment value in the batch file.
if not "%HOP_CONFIG_FOLDER%"=="" ( set HOP_OPTIONS=%HOP_OPTIONS% -DHOP_CONFIG_FOLDER="%HOP_CONFIG_FOLDER%" )
Attachments
Issue Links
- is related to
-
HOP-3878 hop-gui.bat doesn't start correctly if any of the hop_xxx enviro variables are ugly
- Closed