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 <[email protected]>
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
"[email protected]" <[email protected]>.

Reply via email to