ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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 <> 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

: 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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message