You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the trick provided by @Khithar workd like a charm e.g. Flyway.configure().locations("filesystem:" TEMPDIR) but TEMPDIR in this case must be absolute and relatevie system path e.g. C:\db\migrations' or /db/migrations`.
How can I get absoute path from my code that must works correctly in grallvm-native image too e.g. src/main/resources/db/migrations.
In short how can i get absolute path of migrations dir automatically?
I am instrusted to use FlywayDb works anyway with
Gluon Gradle Plugins
/Gluon Maven Plugin
e.g. GrallVM native-image feature.flyway/flyway#2927
As the trick provided by @Khithar workd like a charm e.g.
Flyway.configure().locations("filesystem:" TEMPDIR)
but TEMPDIR in this case must be absolute and relatevie system path e.g.C:\db\migrations' or
/db/migrations`.How can I get absoute path from my code that must works correctly in grallvm-native image too e.g.
src/main/resources/db/migrations
.In short how can i get absolute path of
migrations
dir automatically?For testing project, let see the comment message: flyway/flyway#2927 (comment)
Its works with .SQL migrations files,
Flyway.configure().locations("filesystem:", "C:\db\migration");
@johanvos
@jperedadnr
The text was updated successfully, but these errors were encountered: