@echo off
rem Creates the Apptivity\redist\app21i.zip archive.
rem
echo To create archives\app21i.zip,
pause
if exist progress\apptivity\client\abConst.class goto ZIP
rem Maybe user cd'd into the redist directory
cd ..
if exist progress\apptivity\client\abConst.class goto ZIP
rem Don't know where we are so exit
echo ERROR: Can't find Apptivity classes. Please cd to C:\Apptivity21
or
echo whereever Apptivity 2.1 is installed.
goto END
:ZIP
rem if exist java\bin\jar.exe goto MAKE
goto MAKE
rem Can't find jar archiver
echo ERROR: Can't find java\bin\jar.exe in the Apptivity installation
directory
goto END
:MAKE
rem Create the uncompressed zip file. Include all classes.
echo Creating archive. Please wait ...
c:\zigbert\zip -q -r -0 archives\app21i.zip progress/apptivity/client
progress/apptivity/igui com/indius netscape jdbc/sql jdbc/math
echo.
echo Created archives\app21i.zip.
goto END
:END
pause