dev-java/tomcat-servlet-api-6.0.18 doesn't come with a doc USE flag like dev-java/tomcat-servlet-api-5.5.27
tomcat-servlet-api-5.5.27 installs the API docs for servlet 2.4 and jsp 2.0 inside /usr/share/doc/tomcat-servlet-api-5.5.27/
dev-java/tomcat-servlet-api-6.0.18 should have a doc USE flag to install the servlet 2.5 and jsp 2.1 docs inside /usr/share/doc as well
I'm not sure whether this is a minor bug or an enhancement so I filed it as a minor bug anyways.
Steps to Reproduce:
API docs for servlet 2.5 and jsp 2.1 are not available due to the lack of doc USE flag for the package
1- emerge =dev-java/tomcat-servlet-api-6.0.18 with doc USE flag
2- cd tomcat-servlet-api-6.0.18/ and the API docs shall be there
> Expected Results:
> 1- emerge =dev-java/tomcat-servlet-api-6.0.18 with doc USE flag
> 2- cd tomcat-servlet-api-6.0.18/ and the API docs shall be there
correction: cd /usr/share/doc/tomcat-servlet-api-6.0.18/ and the API docs shall be there
Not sure why it wasn't added to versions beyond 5.5.x. But 6.0.x and 7.0.x versions do not have a doc use flag either. I will see about adding support for such time permitting.
This has been addressed in 7 and 8, but not 6.
6 doesn't include the Ant tasks for building the javadocs and refers to you an online copy instead. It's not worth our time trying to do it manually, especially when this isn't an issue for 7 or 8. Closing.