-
Notifications
You must be signed in to change notification settings - Fork 274
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
Codegen plugins from system search path no longer work #699
Comments
The system search path is not working for me either. I got this error:
looking at the command generated it seems not correct: reproduction using direct protoc call:
|
The error in #699 (comment) is gone when the the plugin executable is in the current build directory! But if the plugin in the system search PATH, it fails with @andrew-teirney could you show your configuration and more detailed gradle build error? I can't reproduce your error. |
I have just created a sample project that I believe reproduces my error. https://github.com/ateirney/google-protobuf-issue.git is the repository with the replication of the issue. If I attempt to add an executable locator using the below construct I get the error you encountered above. Historically I have not had to provide an executable locator.
|
Further to the above, in an older version of the plugin (specifically 0.8.2) without providing an executable locator the following would be emitted.
|
Thank you @ateirney, I can also reproduce and verify your fix. |
After upgrading from 0.8.19 to 0.9.X I was no longer able to use codegen plugins that should be located using the system path.
The error that was given was the following.
The text was updated successfully, but these errors were encountered: