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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.7
    • 4.1.2, 4.0.10, 4.2.0.M1
    • karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: