You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Michael Zimmermann (JIRA)" <ji...@apache.org> on 2017/07/12 13:07:00 UTC

[jira] [Created] (KARAF-5245) Running karaf.bat inside a "Program Files (x86)" directory

Michael Zimmermann created KARAF-5245:
-----------------------------------------

             Summary: Running karaf.bat inside a "Program Files (x86)" directory
                 Key: KARAF-5245
                 URL: https://issues.apache.org/jira/browse/KARAF-5245
             Project: Karaf
          Issue Type: Bug
          Components: karaf-os-integration
    Affects Versions: 4.0.7
            Reporter: Michael Zimmermann


There are missing quotes in the karaf.bat file to correctly handle subdirectories with spaces. Please add them to the lines 80 and 81 as shown here:

if not "%KARAF_DATA%" == "" (
    if not exist "%KARAF_DATA%" (
        call :warn KARAF_DATA is not valid: "%KARAF_DATA%"
        rem quotes are required here!!!!
*{color:red}        call :warn Creating "%KARAF_DATA%"
        mkdir "%KARAF_DATA%"
{color}*    )
)




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)