Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D520E2E3 for ; Wed, 2 Jan 2013 06:34:17 +0000 (UTC) Received: (qmail 37719 invoked by uid 500); 2 Jan 2013 06:34:16 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 37571 invoked by uid 500); 2 Jan 2013 06:34:14 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 37506 invoked by uid 99); 2 Jan 2013 06:34:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2013 06:34:13 +0000 Date: Wed, 2 Jan 2013 06:34:13 +0000 (UTC) From: "Andreas Pieber (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-1563) Support clean-all & clean-cache directly in karaf main jar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Pieber updated KARAF-1563: ---------------------------------- Attachment: (was: KARAF-1563.patch.txt) > Support clean-all & clean-cache directly in karaf main jar > ---------------------------------------------------------- > > Key: KARAF-1563 > URL: https://issues.apache.org/jira/browse/KARAF-1563 > Project: Karaf > Issue Type: Improvement > Components: karaf-core > Affects Versions: 2.3.0, 3.0.0.RC1 > Reporter: Andreas Pieber > Assignee: Andreas Pieber > Fix For: 2.4.0, 3.0.0.RC1 > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira