Polish "Allow loader.path to refer to nested jars"
Closes gh-8334 Closes gh-8465
This commit is contained in:
@@ -147,7 +147,8 @@ files in directories (as opposed to explicitly on the classpath). In the case of
|
||||
you just add extra jars in those locations if you want more. The `PropertiesLauncher`
|
||||
looks in `BOOT-INF/lib/` in your application archive by default, but you can add
|
||||
additional locations by setting an environment variable `LOADER_PATH` or `loader.path`
|
||||
in `loader.properties` (comma-separated list of directories or archives).
|
||||
in `loader.properties` (comma-separated list of directories, archives, or directories
|
||||
within archives).
|
||||
|
||||
|
||||
|
||||
@@ -280,7 +281,8 @@ the `Main-Class` attribute and leave out `Start-Class`.
|
||||
* `loader.home` is only the directory location of an additional properties file
|
||||
(overriding the default) as long as `loader.config.location` is not specified.
|
||||
* `loader.path` can contain directories (scanned recursively for jar and zip files),
|
||||
archive paths, or wildcard patterns (for the default JVM behavior).
|
||||
archive paths, a directory within an archive that is scanned for jar files (for
|
||||
example, `dependencies.jar!/lib`), or wildcard patterns (for the default JVM behavior).
|
||||
* `loader.path` (if empty) defaults to `BOOT-INF/lib` (meaning a local directory or a
|
||||
nested one if running from an archive). Because of this `PropertiesLauncher` behaves the
|
||||
same as `JarLauncher` when no additional configuration is provided.
|
||||
|
||||
Reference in New Issue
Block a user