[
https://issues.apache.org/jira/browse/KARAF-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13663811#comment-13663811
]
Andreas Pieber commented on KARAF-1563:
---------------------------------------
applied to 2.x
{code}
Committing to https://svn.apache.org/repos/asf/karaf/branches/karaf-2.x ...
M
admin/core/src/main/resources/org/apache/karaf/admin/etc/system.properties
M
assemblies/apache-karaf/src/main/distribution/text/etc/system.properties
M main/src/main/java/org/apache/karaf/main/Main.java
M shell/dev/src/main/java/org/apache/karaf/shell/dev/Restart.java
Committed r1485070
{code}
I'll add a section to the userguid to the master & 2.x during the day and
resolve this issue afterwards.
> 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
> Reporter: Andreas Pieber
> Assignee: Andreas Pieber
> Fix For: 2.4.0, 3.0.0
>
> Attachments: KARAF-1563.patch.txt, KARAF-1563.patch.txt
>
>
> 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