when tomcat 7.0.23 is emerged withe the doc USE-flag set, it copies the wrong directory into the webapps dir (the xml files instead of the generated html pages). this happens because it copies the wrong directory in the during src_install(). the docs dir gets built in "${S}"/output/build/webapps/ but is installed from "${S}"/webapps/ . Reproducible: Always Steps to Reproduce: 1. emerge =tomcat-7.0.23 2. rc-service start tomcat-7 3. point your browser to http://localhost:8080/docs Actual Results: documentation can not be viewed Expected Results: being able to view the docs
Created attachment 295077 [details, diff] patch for the tomcat-7 ebuild patch for tomcat-7 to copy the right documentation files during src_install()
*tomcat-7.0.23-r2 (24 Dec 2011) 24 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> -tomcat-7.0.23-r1.ebuild, +tomcat-7.0.23-r2.ebuild: Fixed installation of documentation (bug #393511, thanks to ron widler <ron@einfach.org> for the fix). Also added symlink to docs to catalina base webapps which fixes display of documentation from Tomcat default web app.