Hi,

The following patch places the gjdoc source into the classpath tree, and builds gjdoc into tools.zip. I tested this by first building and installing classpath (make && sudo make install), then passing --with-gjdoc=/usr/local/classpath/bin/gjdoc to ./configure, as to generate javadoc on the second build. This works, but only if the wrapper at /usr/local/classpath/bin/gjdoc has -Xmx512m -Xms512m as part of the java flags, otherwise it will run out of memory while generating javadoc for all of the classes. "-Xmx512m -Xms512m" could be default flags in tools/gjdoc.in, but I don't know if this is an ideal solution.

The patch is located at http://icedtea.classpath.org/~jsumali/classpath-gjdoc.patch (warning, 1.5MB), or http://icedtea.classpath.org/~jsumali/classpath-gjdoc-patch.tar.gz (233K). It should apply cleanly to what's in the classpath repo right now.

Thanks,
Josh

Reply via email to