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
it seems flyway.locations with a filesystem: is looked for in the user's current working directory.
that may be good or bad generally, I don't know, but for ant it's at least unexpected, as ant de-refes anything else to the parent directory of the build file.
so when "ant -f builddb.xml" works, "cd.. ; ant -f thedir/builddb.xml" does not.
so please either make the ant script be based on the basedir,
or at least give a hint into the ant doc to put it like:
Cheers, Tom.
The text was updated successfully, but these errors were encountered:
Cool Axel!
Seems my workaround was eaten by the html brackets. here it is again without brackets:
property name="flyway.locations" value="filesystem:${basedir}/db-migrations"
Hey Axel,
it seems flyway.locations with a filesystem: is looked for in the user's current working directory.
that may be good or bad generally, I don't know, but for ant it's at least unexpected, as ant de-refes anything else to the parent directory of the build file.
so when "ant -f builddb.xml" works, "cd.. ; ant -f thedir/builddb.xml" does not.
so please either make the ant script be based on the basedir,
or at least give a hint into the ant doc to put it like:
Cheers, Tom.
The text was updated successfully, but these errors were encountered: