springBootUtility thin command
Creates a thin application and library cache from a fat Spring Boot application.
Usage examples
Create the thin Spring Boot application with the the springBootUtility
command and the necessary options:
<wlp>/bin/springBootUtility thin \ --sourceAppPath=hellospringboot.jar \ --targetLibCachePath=<wlp>/usr/shared/resources/lib.index.cache \ --targetThinAppPath=<wlp>/usr/servers/helloserver/dropins/spring/hellospringboot.jar
Syntax
Run the command from the path_to_liberty/bin
directory.
springBootUtility thin [options]
- options
-
One or more optional parameters.
Options
Option | Description |
---|---|
--sourceAppPath=path |
The path of the source application file to thin. This option is required. |
--parentLibCachePath=directory |
The directory path of the parent read-only library cache. The parent library cache is searched first to locate existing libraries. If the library is not found, the library is stored in the writable library cache that is specified by the |
--targetLibCachePath=directory |
The directory path that is used to save the library cache. If this option is not specified, a |
--targetThinAppPath=file |
The path that is used to save the thin application file. If this option is not specified, a new file is created with the |