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

includeTableRegexes and includeTableAntPatterns properties not working #10

Open
ziogiugno opened this issue Mar 23, 2016 · 0 comments
Open

Comments

@ziogiugno
Copy link

Hello, I think I find an issue that prevents using this 2 properties. The isNotIncluded method in GrailsReverseEngineeringStrategy exclude all tables because of empty includeTables list without matching any includeTableRegexes or includeTableAntPatterns properties. I solved this issue adding empty list check for includeTables.....
BEFORE
if (!includeTables.contains(name)) {
log.debug 'table {} not included by name', name
return true
}
AFTER
if (!includeTables.empty && !includeTables.contains(name)) {
log.debug 'table {} not included by name', name
return true
}

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

No branches or pull requests

1 participant