Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
935131cd
Commit
935131cd
authored
Mar 18, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarification regarding format of loader.path
parent
a1d3bac7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
appendix-executable-jar-format.adoc
...ocs/src/main/asciidoc/appendix-executable-jar-format.adoc
+3
-3
PropertiesLauncher.java
...a/org/springframework/boot/loader/PropertiesLauncher.java
+2
-1
No files found.
spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc
View file @
935131cd
...
@@ -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`
(co
lon
-separated list of directories or archives).
(co
mma
-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`
|Co
lon
-separated Classpath, e.g. `lib:${HOME}/app/lib`.
|Co
mma
-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
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java
View file @
935131cd
...
@@ -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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment