using files generated by thrift with eclipse