Skip to content

Commit 7cf9b98

Browse files
committed
Warn about unpack's use of the temporary directory
Closes gh-15180
1 parent dff3d6e commit 7cf9b98

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2948,7 +2948,12 @@ jar support which assumes that the `jruby-complete.jar` is always directly avail
29482948
file in its own right.
29492949

29502950
To deal with any problematic libraries, you can flag that specific nested jars should be
2951-
automatically unpacked to the '`temp folder`' when the executable jar first runs.
2951+
automatically unpacked when the executable jar first runs. Such nested jars are written
2952+
beneath the temporary directory identified by the `java.io.tmpdir` system property.
2953+
2954+
WARNING: Care should be taken to ensure that your operating system is configured so that
2955+
it will not delete the jars that have been unpacked to the temporary directory while the
2956+
application is still running.
29522957

29532958
For example, to indicate that JRuby should be flagged for unpack using the Maven Plugin
29542959
you would add the following configuration:

0 commit comments

Comments
 (0)