Perry, thanks for procedure, it worked for me!

Is someone collecting JDK 1.4.0 related bugs?

Bruce

>>> [EMAIL PROTECTED] 04/14/02 11:34PM >>>
Seems as though it might be an issue with the change in the javadoc options
for 1.4
In the build log, it has an error with:

org.apache.cocoon.components.language.programming.java

Tried playing with javadoc outside of build & ant.
Build invokes javadoc, with a list of o.a.c.xxx for each package, but I
think the new javadoc expects those to be actual files and doesn't find them
so produces nothing! The only one that looks like a file in the list,
o.a.c.c.l.programming.java, doesn't exist!

javadoc 1.4 has introduced an option -subpackages, which probably makes the
list of o.a.c.xxx's redundant. I finally got it to work, manually, with
"-subpackages org.apache.cocoon", but the current Cocoon version of ant
won't take the subpackages option, so I can't see a proper fix at this
stage. In the end, I suppose ant would need to be modified to account for
these differences between 1.3 and 1.4 javadoc.

But to do it manually, run "build javadocs -verbose" and redirect output to
a log file. Edit the log file to find and extract the very long javadoc
command line into a separate file. You now need to reduce this to just the
parameters and options, so remove the leading ...javadoc.exe and replace all
the package names at the end, i.e everything after -version -author, with
-subpackages org.apache.cocoon

Now execute: javadoc @file (where file is the one you just created,
containing the javadoc parameters and options). The above assumes your under
Windoze.

Sorry this is a bit involved, I tried to fake out the ant build, but
couldn't get around it's checks!

HTH

Perry



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to