From 935131cdab3e8c2e59eba6d88782fc2fab8e4eb9 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 18 Mar 2014 15:29:51 +0000 Subject: [PATCH] Clarification regarding format of loader.path --- .../src/main/asciidoc/appendix-executable-jar-format.adoc | 6 +++--- .../org/springframework/boot/loader/PropertiesLauncher.java | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc b/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc index 3b6ec5cb0b..011ebcaa40 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc @@ -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 `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` -(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 |Key |Purpose |`loader.path` -|Colon-separated Classpath, e.g. `lib:${HOME}/app/lib`. +|Comma-separated Classpath, e.g. `lib:${HOME}/app/lib`. |`loader.home` |Location of additional properties file, e.g. `file:///opt/app` @@ -219,7 +219,7 @@ properties (System properties, environment variables, manifest entries or |`loader.config.location` |Path to properties file, e.g. `classpath:loader.properties` (defaults to - `application/.properties`). + `application.properties`). |`loader.system` |Boolean flag to indicate that all properties should be added to System properties diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java index 23c27ef623..a27a6decad 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java @@ -84,7 +84,8 @@ public class PropertiesLauncher extends Launcher { /** * 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";