Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 265 by ravikumarkulandai: The import is supported only if the
imported proto’s package is a subset of the importing proto’s package
http://code.google.com/p/protobuf/issues/detail?id=265
What steps will reproduce the problem?
1. Create a proto file (SuperProtoA) in package A.B.C with messages SuperA
2. Create a proto file (SubProtoB) in package A.B.D. This protofile should
import SuperProtoA from A.B.C and use type SuperA
3. If "SubProtoB" is compiled then it does not compile. It says can not
find type SuperA.
4. Instead if i modify package of SubProtoB to A.B.C.D or any subpackage of
A.B.C then proto file gets compiled.
Following are the env details.
Windows xp, using --java_out, protobuff version 2.4.0
Is this the bug/limitation or it is the feature intended?
I think this is a obvious functionality required in a multitiered framework
or when organization uses the proto file defined by other organization.
Thanks,
ravikumar K
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.