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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.0, 3.0.0
    • Component/s: karaf-core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: