[fedora-java] GCJ/OpenJDK Javadoc Generation

Andrew Haley aph at redhat.com
Mon Dec 22 11:06:27 UTC 2008


Mat Booth wrote:

> I'm trying to package the Eclipse EMF (I will open a review request
> when it's ready) and I'm having difficulty with javadoc generation.
> Specifically, the javadocs inside the sdk subpackages fail to be
> generated when using GCJ (sinjdoc) but it works when using OpenJDK.
> 
> Here are the spec and srpm if you want to see the package:
> 
> http://mbooth.fedorapeople.org/eclipse-emf.spec
> http://mbooth.fedorapeople.org/eclipse-emf-2.4.1-1.fc10.src.rpm
> 
> Looking at the build logs, I think sinjdoc is choking on 1.5 syntax.
> (Search the logs for [javadoc])
> 
> OpenJDK buildlog: http://mbooth.fedorapeople.org/build-2.4.1-1.fc10.log
> GCJ buildlog: http://koji.fedoraproject.org/koji/getfile?taskID=1014290&name=build.log
> 
> So do I need to make the build use OpenJDK instead of GCJ? How would I do that?

I think it's simply a matter of adding a BuildRequires: java-devel-openjdk

Andrew.




More information about the fedora-devel-java-list mailing list