mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-07 22:22:19 +00:00
fix[protocol]: 修复protobuf生成找不到配置文件的bug
This commit is contained in:
@@ -76,7 +76,7 @@ public class JProtobufTest {
|
||||
var op = GenerateOperation.NO_OPERATION;
|
||||
op.getGenerateLanguages().add(CodeLanguage.Protobuf);
|
||||
op.setFoldProtocol(true);
|
||||
op.setProtocolParam("protobuf=protobufTest/protobuf.xml");
|
||||
op.setProtocolParam("protobuf=protobuf.xml");
|
||||
|
||||
ProtocolManager.initProtocol(Set.of(ObjectA.class, ObjectB.class, ObjectC.class), op);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user