BUILD_DOCS.BAT
This batch file documents the source code included in this build
using the javadoc tool (included with the JDK). The
BUILD_DOCS.BAT command should be executed from the bin/
directory:
This batch file performs the following operations:
- Removes previous javadoc files from the ../javadocs directory.
- Runs the javadoc utility on all files under the ../src and ../import
directories and generates documentation in the ../javadocs directory.
The current javadocs can be viewed here.
The BUILD_DOCS.BAT batch file should be executed from the
bin/ directory and looks like this:
@echo off
REM Compiles javadocs for the Agent Kernel into the javadocs directory.
REM Make sure to set JAVA_HOME and AK_HOME appropriately.
set JAVA_HOME=J:\jdk1.5
set AK_HOME=J:\ak
set CLASSPATH=%AK_HOME%\ak.jar
set SOURCEPATH=%AK_HOME%\src;import\jakarta-oro-2.0.7\src
set JDOC=%JAVA_HOME%\bin\javadoc -classpath %CLASSPATH%
-sourcepath %SOURCEPATH% -d %AK_HOME%\javadocs
echo Removing old javadocs...
cd %AK_HOME%
rmdir /s /q javadocs
mkdir javadocs
echo Compiling javadocs to %AK_HOME%\javadocs
%JDOC% com.cometway.io com.cometway.tools com.cometway.jdbc com.cometway.swing
com.cometway.email com.cometway.httpd com.cometway.ak cometway.io
cometway.message cometway.net cometway.net.html cometway.om cometway.props
cometway.text cometway.util org.apache.oro.io org.apache.oro.text
org.apache.oro.util
Description: How to use the BUILD_DOCS.BAT batch file
Updated: Mon May 19 06:24:42 EDT 2008