From 187258aa6a98c24173a5686d81dfe886ea70561e Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Sat, 30 Jan 2021 17:56:09 -0800 Subject: [PATCH] Fix classpath.idx format documentation Since 2.3.8 and 2.4.2 the format includes the directory. Closes gh-24856 --- .../src/docs/asciidoc/appendix-executable-jar-format.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-executable-jar-format.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-executable-jar-format.adoc index d4a6fe78ae..70a9d2f60b 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-executable-jar-format.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/appendix-executable-jar-format.adoc @@ -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: @@ -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" ----