public class SpringBootFatJar extends Object
Constructor and Description |
---|
SpringBootFatJar() |
Modifier and Type | Method and Description |
---|---|
static String |
getPathForResource(String path) |
static String |
getSimplePathForResources(String entryName,
String path)
Method used to simplify an entryName
Ex: with path jar:/some/jar.jar!/BOOT-INF/classes!/db/changelog and entryName /BOOT-INF/classes/db/changelog
The simple entry name for Spring is db/changelog
(/BOOT-INF/classes/ is not needed and break the liquibase alphabetical sort order)
|
public static String getSimplePathForResources(String entryName, String path)
entryName
- the entryName to simplifypath
- file pathCopyright © 2020 Liquibase.org. All rights reserved.