On Fri, 10 May 2002, Matthieu Bentot <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to