From ce27d2124b6b6ca81196f9d66352e05c964b1b0c Mon Sep 17 00:00:00 2001 From: stefanp Date: Mon, 8 Apr 2002 09:00:52 +0000 Subject: [PATCH] "=self"-tag for self scripting applications in apps.properties is no longer supported. use class.properties file instead and define helma.main.Server as the main class. --- src/helma/main/ApplicationManager.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/helma/main/ApplicationManager.java b/src/helma/main/ApplicationManager.java index 04e99107..3cbb0d05 100644 --- a/src/helma/main/ApplicationManager.java +++ b/src/helma/main/ApplicationManager.java @@ -75,10 +75,6 @@ public class ApplicationManager { // if we're running with the embedded web server, set app base uri to /appname if (server.websrv != null && !"base".equalsIgnoreCase (appName)) app.setBaseURI ("/"+java.net.URLEncoder.encode (appName)); - // check if the root object of the application is the Server itself - boolean self = "self".equalsIgnoreCase (props.getProperty (appName)); - if (self) - app.setDataRoot (server); // the application is started later in the register method, when it's bound app.init (); } catch (Exception x) {