Slackbot
09/21/2023, 7:37 AMVampire
09/21/2023, 8:43 AMprotoc
is set. But I guess somewhere it is set as ext
variable to the File
after downloading and unzipping and that part is not executed when only doing generateProto
.
That build is full of bad practices and you did not show all relevant parts, so it is very hard to give an advice. But maybe adding a task dependency from generateProto
to getProtoc
would at least treat the symptoms and make the build work halfway.klay lin
09/21/2023, 8:53 AMVampire
09/21/2023, 12:05 PMprotoc
is defined as local variable with a File
value.
So your if
checks whether the file is there at the expected location and this does not seem to be the case.
Double check it manually in the file system.
Maybe the getProtoc
task is behaving badly and thinks it is up-to-date while it isn't, or you changed protobuf version and the directory layout changed, or something similar.
Impossible to say from here.klay lin
09/22/2023, 5:33 AM