Skip to content

Commit

Permalink
Fix classpath.idx format documentation
Browse files Browse the repository at this point in the history
Since 2.3.8 and 2.4.2 the format includes the directory.

Closes gh-24856
  • Loading branch information
philwebb committed Jan 31, 2021
1 parent 19c5864 commit 187258a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -101,7 +101,7 @@ These files, however, are _not_ parsed internally as YAML and they must be writt
[[executable-jar-war-index-files-classpath]]
=== Classpath Index
The classpath index file can be provided in `BOOT-INF/classpath.idx`.
It provides a list of jar names (not including the directory) in the order that they should be added to the classpath.
It provides a list of jar names (including the directory) in the order that they should be added to the classpath.
Each line must start with dash space (`"-·"`) and names must be in double quotes.

For example, given the following jar:
Expand All @@ -124,8 +124,8 @@ The index file would look like this:

[indent=0]
----
- "dependency2.jar"
- "dependency1.jar"
- "BOOT-INF/lib/dependency2.jar"
- "BOOT-INF/lib/dependency1.jar"
----


Expand Down

0 comments on commit 187258a

Please sign in to comment.