[kepler-dev] [Bug 4255] - Add Online Javadocs

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Sat Jul 25 11:30:30 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4255





------- Comment #3 from cxh at eecs.berkeley.edu  2009-07-25 11:30 -------
I ported a version of ptolemy.util.StreamExec to 
build-area/src/org/kepler/build/util/StreamSingleCommandExec.java
and modified CreateJavadoc.java to use it and the problem with
running javadoc on the ptolemy classes goes away.

I suspect that the problem is that both org.kepler.build.util.CommandLine
and org.apache.tools.ant.taskdefs.Javadoc are incorrectly handling 
stderr output from the subprocess.  StreamSingleCommandExec creates two
threads to read stdout and stderr.

I also added the Rating Taglet so that running javadoc on the ptolemy
code does not produce output like:
  warning - @Pt.AcceptedRating is an unknown tag.

There are a few problems though:
1) We are not properly excluding directories like ptolemy/vendors.
If the ant taskdefs.Javadoc class worked properly, then maybe we could
use the ant exclude facility here?
2) Various third party packages such as the Apache Logging facility
are not included in the CLASSPATH so we get error messages.


More information about the Kepler-dev mailing list