diguage commented on issue #15471:
URL: https://github.com/apache/dubbo/issues/15471#issuecomment-2986426262
Extract the `protoc` command:
```bash
[INFO] commandLine:/bin/sh -c
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-plugins/protoc-3.25.5-osx-x86_64.exe'
'--proto_path=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto'
'--proto_path=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-dependencies/9c8972f39bfb577b75cbe4ecd1b8a4fd'
'--proto_path=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-dependencies/92c0cc828903883fabbf5b0f8519d09e'
'--java_out=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/generated-sources/protobuf/java'
'--plugin=protoc-gen-tri=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-plugins/protoc-gen-tri'
'--tri_out=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/generated-sources/protobuf/java'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/status.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/health.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/triple_wrapper.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/m
ain/proto/error_details.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/reflectionV1Alpha.proto'
[INFO] execute commandLine finished with exit code: 1
```
And run the command:
```bash
/bin/sh -c
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-plugins/protoc-3.25.5-osx-x86_64.exe'
'--proto_path=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto'
'--proto_path=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-dependencies/9c8972f39bfb577b75cbe4ecd1b8a4fd'
'--proto_path=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-dependencies/92c0cc828903883fabbf5b0f8519d09e'
'--java_out=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/generated-sources/protobuf/java'
'--plugin=protoc-gen-tri=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-plugins/protoc-gen-tri'
'--tri_out=/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/generated-sources/protobuf/java'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/status.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/health.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/triple_wrapper.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/error_det
ails.proto'
'/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/src/main/proto/reflectionV1Alpha.proto'
Usage:
/path/to/dubbo/dubbo-rpc/dubbo-rpc-triple/target/protoc-plugins/protoc-3.25.5-osx-x86_64.exe
[OPTION] PROTO_FILES
Parse PROTO_FILES and generate output based on the options given:
-IPATH, --proto_path=PATH Specify the directory in which to search for
imports. May be specified multiple times;
directories will be searched in order. If not
given, the current working directory is used.
If not found in any of the these directories,
the --descriptor_set_in descriptors will be
checked for required proto file.
--version Show version info and exit.
。。。。。。
```
**Executing the command directly did not work! So, there should be something
wrong with the format of generating this command.**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]