Hi Pants team! I am new to Pants. I am trying to g...
# general
i
Hi Pants team! I am new to Pants. I am trying to generate both Java and Python from protobuf and am running into issues (using
2.15.0rc6
). Basically, the Java is not being generated despite explicit dependencies from
java_sources
, while the Python is generated fine. Also weird is that
export-codegen
will export the Java generated files, but not the python ones until I remove the
protobuf.java
backend, after which it will generate the Python (and, of course, not the Java). I understand this is an experimental backend - does anyone have experience with it working either individually or together with
protobuf.python
?
👋 2
h
I would expect this to work, sorry for the trouble. Can you post a minimal repo on github that reproduces this problem? Debugging this will require looking at config and BUILD files and such
i
Sure thing, I will put that together in the morning.
h
Thanks!
i
I have a very basic repro here: https://github.com/gniemann/pants-proto-test very much appreciate your help!
👀 1
h
OK, looks like you've found a proper bug!
Can you open a bug report for it that links to the extremely helpful repro repo? Then we can go from there.
Sorry for the inconvenience
So we already have an issue. Can you comment on this one instead of opening a new one? The more details the better
i
will do! thanks for taking a look