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

Support clean-all & clean-cache directly in karaf main jar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0, 3.0.0
    • karaf
    • None

    Description

      Currently the clean param is executed by the karaf startup scripts. Therefore it's e.g. not possible to clear the cache if you're using karaf-wrapper. Therefore this code should rather be moved directly in the karaf main jar instead of the script. In addition there are situations where you don't want to delete the data folder, but rather only the cache folder in KARAF_DATA. Therefore it's a good idea to support a clean-all option (clean is an alias for it) and clean-cache.

      Attachments

        1. KARAF-1563.patch.txt
          7 kB
          Andreas Pieber
        2. KARAF-1563.patch.txt
          7 kB
          Andreas Pieber

        Issue Links

          Activity

            People

              pieber Andreas Pieber
              pieber Andreas Pieber
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: