roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r379470 - /incubator/roller/trunk/sandbox/standalone/src/org/roller/tomcat/TomcatHSQLDBPlugin.java
Date Tue, 21 Feb 2006 14:58:07 GMT
Author: snoopdave
Date: Tue Feb 21 06:58:04 2006
New Revision: 379470

URL: http://svn.apache.org/viewcvs?rev=379470&view=rev
Log:
Force demo to exit

Modified:
    incubator/roller/trunk/sandbox/standalone/src/org/roller/tomcat/TomcatHSQLDBPlugin.java

Modified: incubator/roller/trunk/sandbox/standalone/src/org/roller/tomcat/TomcatHSQLDBPlugin.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/sandbox/standalone/src/org/roller/tomcat/TomcatHSQLDBPlugin.java?rev=379470&r1=379469&r2=379470&view=diff
==============================================================================
--- incubator/roller/trunk/sandbox/standalone/src/org/roller/tomcat/TomcatHSQLDBPlugin.java
(original)
+++ incubator/roller/trunk/sandbox/standalone/src/org/roller/tomcat/TomcatHSQLDBPlugin.java
Tue Feb 21 06:58:04 2006
@@ -15,6 +15,11 @@
 		}
 		else if (event.getType().equals(Lifecycle.STOP_EVENT)) {
 			HSQLDBUtility.stop();
+            
+            // This is drastic, but 
+            // 1) we really want Tomcat to stop and 
+            // 2) this is a DEMO bundle
+            System.exit(0);
 		}
 		else {
 			System.out.println(getClass().getName() 



Mime
View raw message