Commit 935131cd authored by Dave Syer's avatar Dave Syer

Clarification regarding format of loader.path

parent a1d3bac7
...@@ -144,7 +144,7 @@ files in directories (as opposed to explicitly on the classpath). In the case of ...@@ -144,7 +144,7 @@ files in directories (as opposed to explicitly on the classpath). In the case of
the war case) so you just add extra jars in those locations if you want more. The the war case) so you just add extra jars in those locations if you want more. The
`PropertiesLauncher` looks in `lib/` by default, but you can add additional locations by `PropertiesLauncher` looks in `lib/` by default, but you can add additional locations by
setting an environment variable `LOADER_PATH` or `loader.path` in `application.properties` setting an environment variable `LOADER_PATH` or `loader.path` in `application.properties`
(colon-separated list of directories or archives). (comma-separated list of directories or archives).
...@@ -202,7 +202,7 @@ properties (System properties, environment variables, manifest entries or ...@@ -202,7 +202,7 @@ properties (System properties, environment variables, manifest entries or
|Key |Purpose |Key |Purpose
|`loader.path` |`loader.path`
|Colon-separated Classpath, e.g. `lib:${HOME}/app/lib`. |Comma-separated Classpath, e.g. `lib:${HOME}/app/lib`.
|`loader.home` |`loader.home`
|Location of additional properties file, e.g. `file:///opt/app` |Location of additional properties file, e.g. `file:///opt/app`
...@@ -219,7 +219,7 @@ properties (System properties, environment variables, manifest entries or ...@@ -219,7 +219,7 @@ properties (System properties, environment variables, manifest entries or
|`loader.config.location` |`loader.config.location`
|Path to properties file, e.g. `classpath:loader.properties` (defaults to |Path to properties file, e.g. `classpath:loader.properties` (defaults to
`application/.properties`). `application.properties`).
|`loader.system` |`loader.system`
|Boolean flag to indicate that all properties should be added to System properties |Boolean flag to indicate that all properties should be added to System properties
......
...@@ -84,7 +84,8 @@ public class PropertiesLauncher extends Launcher { ...@@ -84,7 +84,8 @@ public class PropertiesLauncher extends Launcher {
/** /**
* Properties key for classpath entries (directories possibly containing jars). * Properties key for classpath entries (directories possibly containing jars).
* Defaults to "lib/" (relative to {@link #HOME loader home directory}). * Defaults to "lib/" (relative to {@link #HOME loader home directory}). Multiple
* entries can be specified using a comma separeted list.
*/ */
public static final String PATH = "loader.path"; public static final String PATH = "loader.path";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment