Hi all,
In 1.5Beta1, Javadoc doesn't add the sourcepath value to the javadoc command
line.
AFAIK, it instead build the sourcepath from the files.
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).
Regards,
Matthieu
***
/export/home/mattb/packages/ref/jakarta-ant-1.5Beta1/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
Tue Apr 30 19:45:44 2002
--- ./main/org/apache/tools/ant/taskdefs/Javadoc.java Fri May 10 10:35:34 2002
***************
*** 1434,1439 ****
--- 1434,1440 ----
Vector packagesToDoc = new Vector();
Path sourceDirs = new Path(getProject());
+ if (sourcePath!=null) sourceDirs.addExisting(sourcePath);
parsePackages(packagesToDoc, sourceDirs);
if (packagesToDoc.size() != 0 && sourceDirs.size() == 0) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>