I just noticed that at commit `a8a73797a50f53fc48c...
# general
j
I just noticed that at commit
a8a73797a50f53fc48c57e1fdaf6b8211e267c67
(when the last codegen -- ApacheThriftGen -- was moved to SimpleCodegenTask), pants stopped working in square's java repo. Specifically,
./pants clean-all compile
fails in the round engine:
Copy code
Could not satisfy data dependencies for goal 'jvm' with action SingletonGroupTask_compile_jvm: u"No producers registered for 'java'"
Though the same command works fine in the pants repo at that commit. I suspect this may be because nothing is using code_gen anymore, so nothing has
product_types
of
java
, and indeed adding
Copy code
@classmethod
  def product_types(cls):
    return ['java', 'scala', 'python']
To simple_codegen_task.py fixes it. I can put up a patch for that, but the fact that it still apparently works fine in the pants repo makes me wonder if it's a config problem on my end.