ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] 1.5Beta1: Javadoc doesn't set the sourcepath
Date Fri, 10 May 2002 15:24:44 GMT
On Fri, 10 May 2002, Matthieu Bentot <mbentot@arantech.com> wrote:

> In 1.5Beta1, Javadoc doesn't add the sourcepath value to the javadoc
> command line.

It does, but only if (1) you have specified packages to document and
(2) the referenced directories actually hold .java files for the
packages you want to document.

> AFAIK, it instead build the sourcepath from the files.

It does so in addition to the specified sourcepath.

> This breaks other tools that rely on Javadoc's behavior to (try to)
> load dependencies files, even if it doesn't generate doc for them
> (namely, xdoclet).

Which dependency files may that be?

I've made the change because of this snippet from JDK 1.3's javadoc
documetation:

: Note that you can use the -sourcepath option only when passing
: package names into the javadoc command

So, no package names, no -sourcepath.

In what situation is Ant's current code ommitting stuff that you need?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message