-
Notifications
You must be signed in to change notification settings - Fork 21
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
generateJooqClasses task fails on Windows [Workaround Available] #7
Comments
I had the very same issue on MacBook Pro M1 2021: Configuration:
Stacktrace:
After applying suggestions from @kzhang22 everything works as expected:
|
Thanks, folks! We have incorporated the suggestions and updated the README file accordingly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Currently, when building this project on a Windows machine, the
generateJooqClasses
task fails. There appears to be an issue where docker-java attempts to use a unix socket although running from a Windows machine.Windows 10 Home
Docker Version 20.10.17
Java 11.0.16.1
Steps to reproduce
./gradlew.bat generateJooqClasses
Expected Behavior
JOOQ Classes generated.
Expected Output:
Current Behavior
Workaround
I have found a related issue in the jooq-plugin library here: revolut-engineering/jooq-plugin#15
In order to workaround this, I had to update the
com.revolut.jooq-docker
plugin from version0.3.3
->0.3.7
as well as go to my environment variables and add an extra system variableDOCKER_HOST
asnpipe:////./pipe/docker_engine
.If you look on the linked issue, there was a fix made on the docker-java library released here: https://github.com/docker-java/docker-java/releases/tag/3.2.12 in the following PR: (docker-java/docker-java#1701) to avoid adding the system variable workaround.
The base jooq-plugin library does not currently have this fix in yet. A fork can be created to simply update the docker-java version. There are also existing forks listed under the issue that have the fix implemented.
The text was updated successfully, but these errors were encountered: