Skip to content

Document launcher's use of temp directory for libraries that require unpacking #15180

@ggajos

Description

@ggajos

Hello,

I have a case where I need to unpack the library using the:

spring-boot:repackage:requiresUnpack

Otherwise, the other library from the project is not able to work properly. As stated in the link, the selected libraries are unpacked and copied over to the temporary directory. Unpacking the libraries to the temp directory isn't great idea if I would like to keep the application running longer that the temp files expiration time. The files would be removed by linux and the application will just stop working properly.

  • Is there a way to specify the different target directory?
  • Is there a reason why the temp location is good place for the application libraries? Isn't that a serious bug?

So far, I was able to change the location target location via overwriting the TMP and TEMP environment variables but that sounds like terrible idea in the long run.

Appriciate any help here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions