diff options
author | Feng Xiao <xiaofeng@google.com> | 2016-01-13 11:22:18 -0800 |
---|---|---|
committer | Feng Xiao <xiaofeng@google.com> | 2016-01-13 11:22:18 -0800 |
commit | b6ef4015d7eccc6f63dab3dc46e76f9f9f2217ab (patch) | |
tree | 5bc2d51dfe16fc483b2dad95a7c7279698543cae /java/core/generate-sources-build.xml | |
parent | 73c003c309235485c0e53f2075242567c88a72bc (diff) | |
parent | 49efe9d7db877022e76375df2d4daadab98619b6 (diff) | |
download | protobuf-b6ef4015d7eccc6f63dab3dc46e76f9f9f2217ab.tar.gz protobuf-b6ef4015d7eccc6f63dab3dc46e76f9f9f2217ab.tar.bz2 protobuf-b6ef4015d7eccc6f63dab3dc46e76f9f9f2217ab.zip |
Merge pull request #1121 from nmittler/restructure
Restructuring protobuf to multiple modules
Diffstat (limited to 'java/core/generate-sources-build.xml')
-rw-r--r-- | java/core/generate-sources-build.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/java/core/generate-sources-build.xml b/java/core/generate-sources-build.xml new file mode 100644 index 00000000..0996e5ff --- /dev/null +++ b/java/core/generate-sources-build.xml @@ -0,0 +1,20 @@ +<project name="generate-sources"> + <echo message="Running protoc ..."/> + <mkdir dir="${generated.sources.dir}"/> + <exec executable="${protoc}"> + <arg value="--java_out=${generated.sources.dir}"/> + <arg value="--proto_path=${protobuf.source.dir}"/> + <arg value="${protobuf.source.dir}/google/protobuf/any.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/api.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/descriptor.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/duration.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/empty.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/field_mask.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/source_context.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/struct.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/timestamp.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/type.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/wrappers.proto"/> + <arg value="${protobuf.source.dir}/google/protobuf/compiler/plugin.proto"/> + </exec> +</project>
\ No newline at end of file |