Hello,

*protoc --include_imports --descriptor_set_out=/dev/stdout 
user_preferences.proto*

Instead of running the *protoc  *command from my application, which will 
basically shell out to user's machine and is dependent on user's machine 
protoc compiler.

I was wondering if there's an existing compiler api's which can be used 
from java.

I went through docs - and i guess importer can be used -  
https://protobuf.dev/reference/cpp/api-docs/google.protobuf.compiler.importer/
But, this is not exposed as java api.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/25a97a95-b004-4d7f-9b65-cf50a14404d4n%40googlegroups.com.

Reply via email to