You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:26:27 UTC

[sling-slingstart-maven-plugin] 16/18: SLING-4620 : Slingstart plugin start goal exits even if launchpad.keep.running is set to true

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag slingstart-maven-plugin-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-slingstart-maven-plugin.git

commit 8e24720ee08d566c12ad376e1ecd0bc5a2662ddc
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Apr 15 03:14:40 2015 +0000

    SLING-4620 : Slingstart plugin start goal exits even if launchpad.keep.running is set to true
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/tooling/maven/slingstart-maven-plugin@1673625 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/maven/slingstart/run/LauncherCallable.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/maven/slingstart/run/LauncherCallable.java b/src/main/java/org/apache/sling/maven/slingstart/run/LauncherCallable.java
index dcd62d5..a5218cb 100644
--- a/src/main/java/org/apache/sling/maven/slingstart/run/LauncherCallable.java
+++ b/src/main/java/org/apache/sling/maven/slingstart/run/LauncherCallable.java
@@ -171,7 +171,9 @@ public class LauncherCallable implements Callable<ProcessDescription> {
         if ( this.configuration.getRunmode() != null && this.configuration.getRunmode().length() > 0 ) {
             args.add("-Dsling.run.modes=" + this.configuration.getRunmode());
         }
-        args.add("start");
+        if ( !this.environment.isShutdownOnExit() ) {
+            args.add("start");
+        }
 
         builder.command(args.toArray(new String[args.size()]));
         builder.directory(this.configuration.getFolder());

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.