Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5245

Running karaf.bat inside a "Program Files (x86)" directory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.7
    • Fix Version/s: 4.1.2, 4.0.10, 4.2.0.M1
    • Component/s: karaf
    • Labels:
      None

      Description

      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!!!!
      call :warn Creating "%KARAF_DATA%"
      mkdir "%KARAF_DATA%"
      )
      )

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              michaelz_scisys Michael Zimmermann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: