Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change or indicate in doc where flyway.locations filesystem in looking from ant task #625

teicher opened this issue Oct 13, 2013 · 2 comments


Copy link

teicher commented Oct 13, 2013

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.

Copy link

Thanks for the report Tom. Nice catch! Relative locations are now relative to basedir, as one would expect.


Copy link

teicher commented Oct 25, 2013

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants