I have the following directory hierarchy:
generated
|
| -->java
Java名录有以下包装:com.model。
在我汇编申请之前,我从某个地方复制/印制了java模型。
我使用《议定书》缓冲和我告诉大家,在新的一揽子计划下,同一名录上产生的文件:
Result : Protocol buffer generates the new package and deletes the old package.
I have no idea why does it do that although the package names are different?
这里,“我”的一部分用于从礼宾缓冲中产生ava:
<plugin>
<groupId>com.google.protobuf.tools</groupId>
<artifactId>maven-protoc-plugin</artifactId>
<configuration>
<protocExecutable>C:protoc.exe</protocExecutable>
<protoSourceRoot>./src/proto</protoSourceRoot>
<outputDirectory>./src/generated/java</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>