Declaring product_types for simple_codegen_task.

Review Request #2540 - Created July 28, 2015 and submitted

Information
Garrett Malmquist
pants
gmalmquist/product-types-fix
1878
f97ef49...
Reviewers
pants-reviews
jsirois, zundel

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 CodeGen used 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

John Sirois
Garrett Malmquist
John Sirois
Garrett Malmquist
Garrett Malmquist
Review request changed

Status: Closed (submitted)

Change Summary:

In commit f50f889969fb8f8da103d524b526514a0441d625

Loading...