Declaring product_types for simple_codegen_task.
Review Request #2540 - Created July 28, 2015 and submitted
This is a hack to get the round manager to properly run codegen
before resolve and compile. It would be more correct to just
have each individual codegen class declare what languages it
generates, but would cause problems with scala.
Background (discussed on slack): commit a8a73797a50f53fc48c57e1fdaf6b8211e267c67
broke Square's java repo, because it removed the last task outside of contrib that
provided the 'java' product. The old
CodeGenused a hack to claim to generate
all relevant product types, to get around problems with the round engine.
This introduces that hack into simple_codegen_task.py, fixing the regression.
Hopefully the underlying problems in round engine will be fixed eventually, and
this hack can go away.
CI went green: https://travis-ci.org/pantsbuild/pants/builds/73099770
Revision 2 (+8)
CI went green https://travis-ci.org/pantsbuild/pants/builds/73099770