How to generate API Documentation with gjdoc/libxmlj?
Beware: generating the complete API Documentation non-trivial and the generation of a full tree takes more then one and half hour (on a 1.4 Ghz Athlon), 150+ MB of memory, at least 25MB of tmp storage, and at least twice so much in your obj build dir. • set the CVS_RSH environment variable to ssh • install gcj 3.3.2 (or higher) gjdoc CVS :ext:anoncvs@savannah.gnu.org:/cvsroot/cp-tools module gjdoc • install libxmlj libxmlj CVS :ext:anoncvs@savannah.gnu.org:/cvsroot/classpathx module libxmlj make && make install • For gjdoc add at the start of gnu/classpath/tools/gjdoc/Main.java (main): System.setProperty(“javax.xml.transform.TransformerFactory”, “gnu.xml.libxmlj.transform.TransformerFactoryImpl”); • There is a ant build.xml file, but you can also compile it all by hand together with the external/jaxp/source files from Classpath which can be copied in the src direcrory as follows: find * -name \*.java | xargs gcj -O2 -g -o gjdoc \ –main=gnu.classpath.tools.gjdoc.Main • Create a simple
Beware: generating the complete API Documentation non-trivial and the generation of a full tree takes more then one and half hour (on a 1.4 Ghz Athlon), 150+ MB of memory, at least 25MB of tmp storage, and at least twice so much in your obj build dir. • set the CVS_RSH environment variable to ssh • install gcj 3.3.2 (or higher) gjdoc CVS :ext:anoncvs@savannah.gnu.org:/cvsroot/cp-tools module gjdoc • install libxmlj libxmlj CVS :ext:anoncvs@savannah.gnu.org:/cvsroot/classpathx module libxmlj make && make install • For gjdoc add at the start of gnu/classpath/tools/gjdoc/Main.java (main): System.setProperty(“javax.xml.transform.TransformerFactory”, “gnu.xml.libxmlj.transform.TransformerFactoryImpl”); • There is a ant build.xml file, but you can also compile it all by hand together with the external/jaxp/source files from Classpath which can be copied in the src direcrory as follows: find * -name \*.java | xargs gcj -O2 -g -o gjdoc \ –main=gnu.classpath.tools.gjdoc.Main • Create a simple