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

Windows karaf.bat does not work when spaces in the install path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 4.0.8
    • None
    • karaf
    • None
    • Windows

    Description

      The bin/karaf.bat file results in an error if the path where karaf is installed.

      This can be fixed by placing double-quotes around the KARAF_DATA environment variables found on lines 80 and 81, it should look like the following.

      call :warn Creating "%KARAF_DATA%"
      mkdir "%KARAF_DATA%"

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              gmccone George McCone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5m
                  5m
                  Remaining:
                  Remaining Estimate - 5m
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified