linkoffline link not built correctly
We are running Javadoc through a shell script and trying to link to a copy of the JDK on one of our servers. We don't allow proxy Internet connections on the server where we run Javadoc, so we are using linkoffline to generate the links. Here's what was passed on a given run:
javadoc -nodeprecated -noqualifier all -windowtitle "My Java Libraries" -doctitle "My Java Libraries
<h3>Documentation generated: Mon Mar 31 11:52:40 EST 2003</h3>" -sourcepath /opt/Programs/Java/src -use -splitindex -version -linkoffline http://my_web_server.com/web_guides/java_sdk/api /opt/Programs/Java/src -d /opt/Programs/Java/docs/lib -subpackages com.mypackages
All the links to the standard JDK libraries are generated, but they come out like this:-
<A HREF="../../../../http://my_web_server.com/web_guides/java_sdk/api/java/lang/Object.html">java.lang.Object</A>
instead of:-
<A HREF="http://my_web_server.com/web_guides/java_sdk/api/java/lang/Object.html">java.lang.Object</A>
In other words, Javadoc is simply adding the absolute URL to the end of the current directory, as though it were a local file, instead of building an absolute link. Consequently, none of the JDK links work.
Can anyone tell me why this is happening and what can be done to fix it? (We can't use -link in this exercise, so please don't suggest it.)
Thanks,
Flic

