karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5245) Running karaf.bat inside a "Program Files (x86)" directory
Date Mon, 07 Aug 2017 05:24:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116061#comment-16116061
] 

ASF subversion and git services commented on KARAF-5245:
--------------------------------------------------------

Commit 9de0cdf8a7b523a4c509b6f7c61290b20c9fd575 in karaf's branch refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=9de0cdf ]

[KARAF-5245] Fix karaf.bat with path contains spaces


> 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-core, karaf-os-integration
>    Affects Versions: 4.0.7
>            Reporter: Michael Zimmermann
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.2.0, 4.1.2, 4.0.10
>
>
> 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)

Mime
View raw message