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

apgdiff cannot be used a dependent library. #82

Open
cb-deepakkumar opened this issue Nov 26, 2021 · 0 comments
Open

apgdiff cannot be used a dependent library. #82

cb-deepakkumar opened this issue Nov 26, 2021 · 0 comments

Comments

@cb-deepakkumar
Copy link

Currently, we cannot use apgdiff as a dependent library of another java program. To retrieve the resources we are using the getResource function from the Class class due to which when we execute the program as a standalone program using the pgdiff dependency it is not able to find the .SQL file under the resource folder which is packaged inside the jar.

cb-deepakkumar added a commit to cb-deepakkumar/pgcodekeeper that referenced this issue Nov 26, 2021
…ss.getResourceAsStream to make it work as a standalone jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants