Status: New
Labels: Type-Defect Priority-Medium

New issue 368 by Compilation failure generating scaladoc from SBT - fix looks trivial

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( parent)

... which I believe can be achieved from the autogenerator by making the corresponding change at line 771 of src\google\protobuf\compiler\java\


You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to