I get a command-line error if I try to use -jd (link to javadoc) with a web_reference value such as "../api". This is useful in contexts where I will know the relative path between the java2html output and the javadocs, but do not necessarily have a fixed absolute path I can point to. I.e., I would like the generated links into the api documentation to look like 'hef="../api/SomeClass.html". I currently get around thins by calling the java2html program with "-jd ./path/to/javadocs http://JAVADOC_URL", and then running sed over the output to replace the string "http://JAVADOC_URL" with "..". But it would certainly be more convenient if I didn't have to do this extra step.
Log in to post a comment.