Hi,<br><br>Would it be possible to add a "package zzz;" to the .proto files, as in google examples?<br>In CPP, that will generate a namespace named zzz, which would avoid class name clashing (mind you, I happen to already have Node, Way and Relation classes in Merkaartor).<br>
<br>I'm not really sure if there would be much repercussions to this but if I understand google's doc, "option java_package" would take precedence for java classes, anyway...<br><br>Quoting:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
The .proto file starts with a package declaration, which helps to prevent naming conflicts between different projects. In Java, the package name is used as the Java package unless you have explicitly specified a java_package, as we have here. Even if you do provide a java_package, you should still define a normal package as well to avoid name collisions in the Protocol Buffers name space as well as in non-Java languages.<br>
</blockquote><br>- Chris -<br>