Is there a way to redirect links between multiple independently-built HTML Javadoc trees after installing them from independent products into arbitrary locations?
Let’s state the question a different way. Let’s say a user downloads the JDK and its javadoc-generated API documentation (set A). Next, the user downloads and installs a third-party product with its Javadoc-generated API documentation (set B) in a user-defined location. They would like the references from set B to point to set A. Currently, Javadoc can create links from set B to set A (using “Linking Documents” in the previous question) but they must be specified at Javadoc build time, and can only be either absolute (using http:// or file:/) or relative, but can’t use an environment variable that the user sets to redirect the links. This limitation is inherent in HTML, which does not allow environment variables in links. Some possible solutions or workarounds that we are aware of are: • Use relative links with -link or -linkoffline and require documentation set B to be located relative to set A (On Solaris, these can be non-relative locations provided you use a symlink to perform the