Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium
New issue 368 by david.ho...@gmail.com: Compilation failure generating
scaladoc from SBT - fix looks trivial
http://code.google.com/p/protobuf/issues/detail?id=368
What steps will reproduce the problem?
1. I've a mixed Scala / Java codebase, including some autogenerated Java
protocol buffers code
2. Trying to generate scaladoc by running "sbt doc" fails
I expect this all to go well; in fact I get an error:
not found: type BuilderParent
[error] private Builder(BuilderParent parent)
[error] ^
I'm ussing protobuf-2.4.1.
I don't know why it is that SBT successfully compiles normally, but not
when generating documentation. However, this can be made to work in both
cases by fully qualifying BuilderParent, ie changing the line to:
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent)
... which I believe can be achieved from the autogenerator by making the
corresponding change at line 771 of
src\google\protobuf\compiler\java\java_message.cc
Thanks.
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.