gjdoc and "-link" option
I'm having a problem with gjdoc - it doesn't seem to act upon the "-link"
parameter when linking to classpath-doc. Sun JDK 1.5 works as I would
expect.
I'm using this test Java source file (test1/JDocTest.java):
package test1;
public class JDocTest
{
public String x() { return null; }
}
classpath-doc has been installed;
paul@proxy:~/JavaDocTest$ ls /usr/share/doc/classpath-doc
api changelog.Debian.gz changelog.gz copyright examples
If I call:
/usr/lib/j2sdk1.5-sun/bin/javadoc -link /usr/share/doc/classpath-doc/api
test1/JDocTest.java
The return type is written to the Javadocs with a hyperlink to the
java.lang.String API:
<CODE> <A
HREF="/usr/share/doc/classpath-doc/api/java/lang/String.html" title="class
or interface in java.lang">String</A></CODE></FONT></TD>
But if I call:
gjdoc -link /usr/share/doc/classpath-doc/api test1/JDocTest.java
Then "String" is _not_ written as a hyperlink:
<code class="synopsis"> String
I've also tried using a "file://..." hyperlink as the "-link" argument,
but this still does not work.
Am I doing something silly, or is this a limitation of gjdoc?
Thanks,
Paul
Reply to: