Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393511 - tomcat-7.0.23 copies wrong docs directory into webapps when USE=doc is set
Summary: tomcat-7.0.23 copies wrong docs directory into webapps when USE=doc is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 12:56 UTC by ron widler
Modified: 2011-12-24 18:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for the tomcat-7 ebuild (tomcat-7.0.23.ebuild-docs.patch,587 bytes, patch)
2011-12-07 12:57 UTC, ron widler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ron widler 2011-12-07 12:56:04 UTC
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
Comment 1 ron widler 2011-12-07 12:57:28 UTC
Created attachment 295077 [details, diff]
patch for the tomcat-7 ebuild

patch for tomcat-7 to copy the right documentation files during src_install()
Comment 2 Miroslav Šulc gentoo-dev 2011-12-24 18:28:10 UTC
*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.