Quick Links

Contact Information

4800 Liberty Ave
Pittsburgh, PA 15224

Open 9:30am-6pm EST
Monday-Friday

Phone: +1 (412) 682-5282

info@cometway.com
sales@cometway.com
support@cometway.com

For more information about Comet Way products and services, please visit our corporate website at

http://www.cometway.com

BUILD_AK.BAT

This batch file is used to compile the Agent Kernel source code and create the ak.jar file.

The BUILD_AK.BAT batch file should be executed from the bin/ directory and looks like this:

@echo off REM Compiles the Agent Kernel and creates the ak.jar file. 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%\temp_classes;%AK_HOME%\src set JAVAC=%JAVA_HOME%\bin\javac -classpath %CLASSPATH% -d %AK_HOME%\temp_classes set JAR=%JAVA_HOME%\bin\jar echo Creating %AK_HOME%\temp_classes directory cd %AK_HOME% mkdir temp_classes echo Expanding %AK_HOME%\import\jakarta-oro-2.0.7\jakarta-oro-2.0.7.jar... cd %AK_HOME%\temp_classes %JAR% xf %AK_HOME%\import\jakarta-oro-2.0.7\jakarta-oro-2.0.7.jar del /s /q META-INF echo Compiling Comet Way Agents in %AK_HOME%\src\com\cometway cd %AK_HOME%\src\com\cometway %JAVAC% ak\*.java httpd\*.java email\*.java jdbc\*.java swing\*.java io\ *.java tools\*.java echo Creating %AK_HOME%\ak.jar... cd %AK_HOME%\temp_classes %JAR% cf %AK_HOME%\ak.jar * echo Removing %AK_HOME%\temp_classes directory cd %AK_HOME% rmdir /s /q temp_classes

[Prev] [Next]

Description: How to use the BUILD_AK.BAT batch file

Updated: Mon May 19 06:24:48 EDT 2008