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 07:15:13 UTC

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

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



##########
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:
       Exact need is to support this feature when no using the scripts (maven plugin, gradle, embedded case). +1 to clean the scripts - just need to check it does not fail more often on windows (saw java deletion code not that reliable some years ago)




----------------------------------------------------------------
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