sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1366516 - /sling/site/trunk/content/documentation/the-sling-engine/the-sling-launchpad.mdtext
Date Fri, 27 Jul 2012 19:54:11 GMT
Author: fmeschbe
Date: Fri Jul 27 19:54:11 2012
New Revision: 1366516

URL: http://svn.apache.org/viewvc?rev=1366516&view=rev
Log:
Typo fixes

Modified:
    sling/site/trunk/content/documentation/the-sling-engine/the-sling-launchpad.mdtext

Modified: sling/site/trunk/content/documentation/the-sling-engine/the-sling-launchpad.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/the-sling-engine/the-sling-launchpad.mdtext?rev=1366516&r1=1366515&r2=1366516&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/the-sling-engine/the-sling-launchpad.mdtext (original)
+++ sling/site/trunk/content/documentation/the-sling-engine/the-sling-launchpad.mdtext Fri
Jul 27 19:54:11 2012
@@ -28,8 +28,8 @@ The Java Standalone Application supports
 |--|--|--|
 | `start` | -- | Open a TCP/IP server socket when starting Sling. Uses option `-j` to define
the local socket address. |
 | `status` | -- | Check whether a (remote) Sling application is running. Uses option `-j`
to define the address of the Sling instance to check. Note, that the Sling application terminates
after checking for the (remote) Sling status. |
-| `stop` | -- | Stop a (remote) Sling application is running. Uses option `-j` to define
the address of the Sling instance to stop. Note, that the Sling application terminates after
stopping the (remote) Sling instance. |
-| `-j` | [ host ":" ]({{ refs.-host-.path }}) port |  The socket address to listen on for
control connections (`start` or to use as the remote endpoint for the control connection (`status`
and `stop`. If this parameter has no arguments or is not specified, the address defaults to
any free port on localhost/127.0.0.1. If only the port is specified localhost/127.0.0.1 is
used as the host part of the address. |
+| `stop` | -- | Stop a (remote) Sling application is running. Uses option `-j` to define
the address of the Sling instance to stop. Note, that the Sling application tesrminates after
stopping the (remote) Sling instance. |
+| `-j` | [ host ":" ] port |  The socket address to listen on for control connections (`start`
or to use as the remote endpoint for the control connection (`status` and `stop`. If this
parameter has no arguments or is not specified, the address defaults to any free port on localhost/127.0.0.1.
If only the port is specified localhost/127.0.0.1 is used as the host part of the address.
|
 | `-c` | slinghome | The directory in which Sling locates its initial configuration file
`sling.properties` and where files of Sling itself such as the Apache Felix bundle archive
or the JCR repository files are stored. This defaults to the `sling` folder in the current
working directory. This is the value which is commonly refered to as `$\{sling.home}.`
 | `-i` | launchpadhome |  The launchpad directory. If not set, this is the same as `$\{sling.home}.`
(since Sling Launchpad 2.4.0)  |
 | `-l` | loglevel | Sets the initial loglevel as an integer in the range 0 to 4 or as one
of the well known level strings `ERROR`, `WARN`, `INFO`, or `DEBUG`. This option overwrites
the `org.apache.sling.osg.log.level` setting the `sling.properties` file. The default is `INFO`.
|
@@ -60,22 +60,22 @@ Note that using a control connection for
 
 Suggestions:
 * Do not allow the control port to be opened on an externally visible interface. Using the
localhost/127.0.0.1 is just sufficient.
-* Make sure only legitimate users have access to the installation folder of Sling (`$\{sling.home})`.
+* Make sure only legitimate users have access to the installation folder of Sling (`${sling.home}`).
 
 
 ## Servlet Parameters
 
 The Web Application does not require specific servlet parameters. Those which are specified
are used to overwrite any properties with the same name from the `sling.properties` file.
One exception to this rule is the `sling.home` parameter, which is used to set the value of
the `sling.home` property. If no parameter with this name is defined the Sling home directory
is derived from the context path at which the Sling Web Application is registered.
 
-The `sling.home` folders for Sling Web Applications without the `sling.home` servlet parameter
are all located in the `sling` folder in the current working directory as reported by the
`user.dir` system property. The name of the actual directory is derived from the Web Application
Context Path by replacing all slash characters `/` by underscore characters `\*`. For the
root context a single underscore character `\*` is used.
+The `sling.home` folders for Sling Web Applications without the `sling.home` servlet parameter
are all located in the `sling` folder in the current working directory as reported by the
`user.dir` system property. The name of the actual directory is derived from the Web Application
Context Path by replacing all slash characters `/` by underscore characters `_`. For the root
context a single underscore character `_` is used.
 
 Examples:
 
 | Servlet Context | Default `sling.home` |
 |--|--|
-| *root* | `sling/\_` |
-| `/sling` | `sling/\_sling` |
-| `/sling/instance1` | `sling/\*sling\*instance1` |
+| *root* | `sling/_` |
+| `/sling` | `sling/_sling` |
+| `/sling/instance1` | `sling/_sling/instance1` |
 
 Starting with Launchpad Base 2.2.2 the fixed prefix `sling` is configurable with the `sling.home.prefix`
system property. If this property is set the value used as the prefix.
 
@@ -83,16 +83,16 @@ Examples: Assume the `sling.home.prefix`
 
 | Servlet Context | Default `sling.home` |
 |--|--|
-| *root* | `/var/sling/\_` |
-| `/sling` | `/var/sling/\_sling` |
-| `/sling/instance1` | `/var/sling/\*sling\*instance1` |
+| *root* | `/var/sling/_` |
+| `/sling` | `/var/sling/_sling` |
+| `/sling/instance1` | `/var/sling/_sling/instance1` |
 
 
 ## sling.properties
 
 The `sling.properties` file contains the initial setup of the Sling Application and the OSGi
framework. Some of the parameters are required and should not be modified without a very good
reason. Some parameters may be freely modified to your needs. Please see the inlined comment
in the `sling.properties` file installed when Sling is first started.
 
-One thing to note is, that the `sling.properties` file is a simple Java Properties file with
support for property references. That is, the value of properties may refer other property
values by means of the well known `$\{name`} notation. Such property references may even be
cascaded as in
+One thing to note is, that the `sling.properties` file is a simple Java Properties file with
support for property references. That is, the value of properties may refer other property
values by means of the well known `${name}` notation. Such property references may even be
nested as in
 
 
     java.packages=${jre-${java.specification.version}}
@@ -134,8 +134,7 @@ Currently the following start level assi
 | 1 | Basic bundles required for the correct operation of Sling | org.apache.sling.commons.log
 | 5 | Apache Felix Web Console | org.apache.felix.bundlerepository, org.apache.felix.webconsole,
org.apache.sling.extensions.threaddump |
 | 10 | OSGi Compendium Service Implementations | org.apache.felix.configadmin, org.apache.felix.eventadmin,
org.apache.felix.metatype, org.apache.felix.scr |
-| 15 | JCR Repository (Jackrabbit) | commons-collections, commons-io-1.4.jar
-commons-lang, jackrabbit-api, jackrabbit-jcr-commons, org.apache.sling.commons.mime, org.apache.sling.commons.osgi,
org.apache.sling.jcr.api, org.apache.sling.jcr.base, org.apache.sling.jcr.jackrabbit.server,
org.apache.sling.jcr.webdav |
+| 15 | JCR Repository (Jackrabbit) | commons-collections, commons-io-1.4.jar, commons-lang,
jackrabbit-api, jackrabbit-jcr-commons, org.apache.sling.commons.mime, org.apache.sling.commons.osgi,
org.apache.sling.jcr.api, org.apache.sling.jcr.base, org.apache.sling.jcr.jackrabbit.server,
org.apache.sling.jcr.webdav |
 | 0 | Actual Sling Application bundles | org.apache.sling.adapter, org.apache.sling.api,
org.apache.sling.bundleresource.impl, org.apache.sling.commons.json, org.apache.sling.engine,
org.apache.sling.extensions.apt.parser, org.apache.sling.extensions.apt.servlet, org.apache.sling.httpauth,
org.apache.sling.jcr.classloader, org.apache.sling.jcr.contentloader, org.apache.sling.jcr.ocm,
org.apache.sling.jcr.resource, org.apache.sling.launchpad.content, org.apache.sling.samples.path-based.rtp,
org.apache.sling.scripting.api, org.apache.sling.scripting.core, org.apache.sling.scripting.javascript,
org.apache.sling.scripting.jsp, org.apache.sling.scripting.jsp.taglib, org.apache.sling.servlets.get,
org.apache.sling.servlets.post, org.apache.sling.servlets.resolver |
 
 



Mime
View raw message