migrations
migrations copied to clipboard
Read environment properties files in ZIP/JAR archive
A built in jar migration loader would be nice. I'm reuse my own jar migration loader quite a bit atm.
If a custom migration loader is built-in, it'll be picked up by SPI, I think.
I haven't tested it, but if it's published as a separate module on Maven Central or Bintray JCenter, users of Maven/Gradle plugin may be able to use it just by adding it as a dependency.
Hi @harawata! Sorry for the late response. I've been away. The problem isn't with the custom migration loader, it's due to when it reads environment/xx.properties This is assumed to be on the file system and not able to read using the migration loader. A file loader strategy or {{ResourceLoader}} like Spring has would be a solution here.
@h3adache , It may be possible to provide another extension point like custom file migration loader. I'll look into it.