You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by GitBox <gi...@apache.org> on 2020/09/25 06:36:00 UTC

[GitHub] [karaf] jbonofre commented on a change in pull request #1201: add support of clean arg in main

jbonofre commented on a change in pull request #1201:
URL: https://github.com/apache/karaf/pull/1201#discussion_r494776488



##########
File path: main/src/main/java/org/apache/karaf/main/Main.java
##########
@@ -232,6 +239,29 @@ public void updateInstancePidAfterShutdown() throws Exception {
     }
 
     public void launch() throws Exception {
+        if (Arrays.asList(args).contains("clean")) {

Review comment:
       It does already exist. You can start `bin/karaf` with `clean` option. That's in the `sh|bat` script.
   So your proposal is to remove from script to have it in `Main`, right ?
   In that case, we should also upgrade the scripts.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org