sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r934948 - /sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/ControlListener.java
Date Fri, 16 Apr 2010 14:53:17 GMT
Author: justin
Date: Fri Apr 16 14:53:17 2010
New Revision: 934948

URL: http://svn.apache.org/viewvc?rev=934948&view=rev
Log:
SLING-1442 - shouldn't be killing the JVM on a "stop" command.

Modified:
    sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/ControlListener.java

Modified: sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/ControlListener.java
URL: http://svn.apache.org/viewvc/sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/ControlListener.java?rev=934948&r1=934947&r2=934948&view=diff
==============================================================================
--- sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/ControlListener.java
(original)
+++ sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/ControlListener.java
Fri Apr 16 14:53:17 2010
@@ -124,8 +124,8 @@ class ControlListener implements Runnabl
                         }
                         writeLine(s, RESPONSE_OK);
 
-                        log.info("Sling shut down, exiting Java VM");
-                        System.exit(0);
+                        log.info("Sling shut down, stopping Sling.");
+                        mojo.stopSling();
 
                     } else if (COMMAND_STATUS.equals(command)) {
                         writeLine(s, RESPONSE_OK);



Mime
View raw message