delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/10/13:29:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <955F813B0B11D211B48C00A0C969B07D196280@wa-msg10.nwest.attws.com>
From: "Karr, David" <david DOT karr AT attws DOT com>
To: "'advanced-java'" <advanced-java AT xcf DOT berkeley DOT edu>,
"'cygwin'"
<cygwin AT sourceware DOT cygnus DOT com>
Subject: problem with "javadoc -link", using "file:" URL
Date: Sat, 10 Jul 1999 10:28:07 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

(Besides the newsgroups, is there a better mailing list for discussion
questions about javadoc?  Our news server is down, and I don't know how long
it will be down, so I'm looking for an alternate forum to ask these
questions (that is actually read).)

On Solaris, I was able to specify an option like this to "javadoc":

	-link file:${JDKHOME}/docs/api

This was inside the "build" rule in my Makefile, to build the documentation
for my project.  This worked fine.  Now, on NT, using the Cygwin tools, and
with MAKE_MODE set to "unix", I cannot get this to work.  Depending on what
variation I try, it either fails with an error message, or it silently
creates links to a directory which does not exist.

My JDK distribution is in "D:\jdk1.2.2".  I've tried every variation I can
think of to fill in that field with.  Initially my JDKHOME variable was set
to "d:/jdk1.2.2".  In this state, it generates links in the html files like
this:

class java.lang.<A
HREF="file:d:/jdk1.2.2/docs/api/java/lang/Object.html"><B>Object</B></A>

When I try to follow this link, it says it can't find it.

So, then I tried manually changing the html file to use this:

class java.lang.<A
HREF="file://d|/jdk1.2.2/docs/api/java/lang/Object.html"><B>Object</B></A>

This worked fine.  However, setting the "-link" argument to:

	file://d|/jdk1.2.2/docs/api <file://d|/jdk1.2.2/docs/api> 

Makes javadoc fail with:

javadoc: Error fetching URL: file://d|/jdk1.2.2/docs/api/package-list


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019