incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r734992 - /incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java
Date Fri, 16 Jan 2009 12:46:56 GMT
Author: fmeschbe
Date: Fri Jan 16 04:46:55 2009
New Revision: 734992

URL: http://svn.apache.org/viewvc?rev=734992&view=rev
Log:
Code Reorganization along the lines of the correct package name

Added:
    incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java
  (with props)

Added: incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java?rev=734992&view=auto
==============================================================================
--- incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java
(added)
+++ incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java
Fri Jan 16 04:46:55 2009
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.sling.launchpad.base.shared;
+
+public interface SharedConstants {
+
+    /**
+     * The name of the configuration property defining the Sling home directory
+     * (value is "sling.home"). This is a Platform file system directory below
+     * which all runtime data, such as the Felix bundle archives, logfiles,
+     * Jackrabbit repository, etc., is located.
+     * <p>
+     * The value of this property is derived in a launcher specific way, such as
+     * system property, command line option, servlet or servlet context
+     * init-param, servlet context path, etc.
+     */
+    public static final String SLING_HOME = "sling.home";
+
+    /**
+     * Default {@link #SLING_HOME sling.home} value if no other value can be
+     * resolvled.
+     */
+    public static final String SLING_HOME_DEFAULT = "sling";
+
+    public static final String LAUNCHER_JAR_REL_PATH = "org.apache.sling.launchpad.base.jar";
+
+    public static final String DEFAULT_SLING_MAIN = "org.apache.sling.launchpad.base.main.SlingMain";
+
+    public static final String DEFAULT_SLING_SERVLET = "org.apache.sling.launchpad.base.webapp.SlingServlet";
+
+    public static final String DEFAULT_SLING_LAUNCHER_JAR = "/resources/" + LAUNCHER_JAR_REL_PATH;
+
+}

Propchange: incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/sling/whiteboard/fmeschbe/launchpad/base/src/main/java/org/apache/sling/launchpad/base/shared/SharedConstants.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision Rev Url



Mime
View raw message