Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 185694
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin von Gagern <Martin.vGagern@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 185694 depends on: Show dependency tree
Bug 185694 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-17 19:52 0000
The ant manual toc at /usr/share/doc/ant-core-1.7.0/html/manual/toc.html
contains a relative link to api/index.html but the ebuild installs the javadoc
files one level higher at /usr/share/doc/ant-core-1.7.0/html/api/index.html
causing an unnecessary broken link. There is another link like this in the
manual page of the script optional target.

Unfortunately it seems rather difficult to make dohtml and thus
java-pkg_dojavadoc install into a subdir, and other things might break in the
process. So maybe one of these ad-hoc solutions is better suited:

1. ln -s ../api ${D}usr/share/doc/${PF}/html/manual/api
2. sed -i s:api/:../api/: docs/manual/toc.html \
                          docs/manual/OptionalTasks/script.html

------- Comment #1 From Petteri Räty 2007-07-17 20:40:05 0000 -------
Yeah I have been thinking about integrating a feature like this to our eclasses
at some point. So far I have just been symlinking them into place.

------- Comment #2 From emerald 2007-07-28 20:52:16 0000 -------
came onto the same problem
symlinking is possible but during uninstall it will be left over in the file
system
it would be good whether to change the links, change the position of the ant
api doc or add a small redirector file at the place so the links follow up at
last.
(this preferrably be done in the ebuild so on uninstall/upgrade everything will
be removed)

------- Comment #3 From Petteri Räty 2007-11-28 02:06:56 0000 -------
Finally got around to writing the eclass patch for this. It's now fixed in
1.7.0-r1

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug