1<project name="generate-test-sources"> 2 <mkdir dir="${generated.testsources.dir}"/> 3 <exec executable="${protoc}"> 4 <arg value="--java_out=${generated.testsources.dir}"/> 5 <arg value="--proto_path=${protobuf.source.dir}"/> 6 <arg value="--proto_path=${test.proto.dir}"/> 7 <arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/> 8 <arg value="${protobuf.source.dir}/google/protobuf/unittest_custom_options.proto"/> 9 <arg value="${protobuf.source.dir}/google/protobuf/unittest_enormous_descriptor.proto"/> 10 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/> 11 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/> 12 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/> 13 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public_lite.proto"/> 14 <arg value="${protobuf.source.dir}/google/protobuf/unittest_lite.proto"/> 15 <arg value="${protobuf.source.dir}/google/protobuf/unittest_mset.proto"/> 16 <arg value="${protobuf.source.dir}/google/protobuf/unittest_mset_wire_format.proto"/> 17 <arg value="${protobuf.source.dir}/google/protobuf/unittest_no_generic_services.proto"/> 18 <arg value="${protobuf.source.dir}/google/protobuf/unittest_optimize_for.proto"/> 19 <arg value="${protobuf.source.dir}/google/protobuf/unittest_proto3.proto"/> 20 <arg value="${protobuf.source.dir}/google/protobuf/unittest_proto3_optional.proto"/> 21 <arg value="${protobuf.source.dir}/google/protobuf/unittest_well_known_types.proto"/> 22 <arg value="${test.proto.dir}/com/google/protobuf/any_test.proto"/> 23 <arg value="${test.proto.dir}/com/google/protobuf/cached_field_size_test.proto"/> 24 <arg value="${test.proto.dir}/com/google/protobuf/deprecated_file.proto"/> 25 <arg value="${test.proto.dir}/com/google/protobuf/field_presence_test.proto"/> 26 <arg value="${test.proto.dir}/com/google/protobuf/lazy_fields_lite.proto"/> 27 <arg value="${test.proto.dir}/com/google/protobuf/lite_equals_and_hash.proto"/> 28 <arg value="${test.proto.dir}/com/google/protobuf/map_for_proto2_lite_test.proto"/> 29 <arg value="${test.proto.dir}/com/google/protobuf/map_for_proto2_test.proto"/> 30 <arg value="${test.proto.dir}/com/google/protobuf/map_initialization_order_test.proto"/> 31 <arg value="${test.proto.dir}/com/google/protobuf/map_lite_test.proto"/> 32 <arg value="${test.proto.dir}/com/google/protobuf/map_test.proto"/> 33 <arg value="${test.proto.dir}/com/google/protobuf/message_lite_extension_util_test.proto"/> 34 <arg value="${test.proto.dir}/com/google/protobuf/multiple_files_test.proto"/> 35 <arg value="${test.proto.dir}/com/google/protobuf/nested_builders_test.proto"/> 36 <arg value="${test.proto.dir}/com/google/protobuf/nested_extension.proto"/> 37 <arg value="${test.proto.dir}/com/google/protobuf/non_nested_extension.proto"/> 38 <arg value="${test.proto.dir}/com/google/protobuf/outer_class_name_test.proto"/> 39 <arg value="${test.proto.dir}/com/google/protobuf/outer_class_name_test2.proto"/> 40 <arg value="${test.proto.dir}/com/google/protobuf/outer_class_name_test3.proto"/> 41 <arg value="${test.proto.dir}/com/google/protobuf/packed_field_test.proto"/> 42 <arg value="${test.proto.dir}/com/google/protobuf/proto2_message.proto"/> 43 <arg value="${test.proto.dir}/com/google/protobuf/proto2_message_lite.proto"/> 44 <arg value="${test.proto.dir}/com/google/protobuf/proto2_unknown_enum_values.proto"/> 45 <arg value="${test.proto.dir}/com/google/protobuf/proto3_message.proto"/> 46 <arg value="${test.proto.dir}/com/google/protobuf/proto3_message_lite.proto"/> 47 <arg value="${test.proto.dir}/com/google/protobuf/test_bad_identifiers.proto"/> 48 <arg value="${test.proto.dir}/com/google/protobuf/test_check_utf8.proto"/> 49 <arg value="${test.proto.dir}/com/google/protobuf/test_check_utf8_size.proto"/> 50 <arg value="${test.proto.dir}/com/google/protobuf/test_custom_options.proto"/> 51 <arg value="${test.proto.dir}/com/google/protobuf/wrappers_test.proto"/> 52 </exec> 53 <!-- Also generate some Lite protos needed for ExtensionRegistryFactoryTest --> 54 <exec executable="${protoc}"> 55 <arg value="--java_out=lite:${generated.testsources.dir}"/> 56 <arg value="--proto_path=${protobuf.source.dir}"/> 57 <arg value="--proto_path=${test.proto.dir}"/> 58 <arg value="${test.proto.dir}/com/google/protobuf/nested_extension_lite.proto"/> 59 <arg value="${test.proto.dir}/com/google/protobuf/non_nested_extension_lite.proto"/> 60 </exec> 61</project> 62