REM buildFromWeb.bat REM REM Run this script from top level build directory (the one that REM contains winCIPRES). This directory must also contain REM a directory named msvc_dlls\bin that has the dlls REM we need to redistribute. REM REM This .bat file uses some UNIX utilities. I (terri) use the REM mks toolkit and OpenSSH. REM set CIPRES_VER=0.0.1 set USER=terri set WEBSERVER=myfiles.sdsc.edu set WEBDIR=/misc/www/projects/TOL/dev_snapshot set FSU_CVSROOT=:ext:liebowit@cvs.csit.fsu.edu/usr/local/cvs set ORIG_DIR=%CD% set EXTRAS_DIR=%CD%\msvc_dlls scp %USER%@%WEBSERVER%:%WEBDIR%/winCIPRES.zip . if errorlevel 1 goto error jar xvf winCIPRES.zip if errorlevel 1 goto error chdir winCIPRES call makeCIPRES.bat -n -p if errorlevel 1 goto error chdir CIPRES-%CIPRES_VER%\cipres call ant -Dextras_dir=%EXTRAS_DIR% dist if errorlevel 1 goto error scp CIPRES-Win32.zip %USER%@%WEBSERVER%:%WEBDIR% if errorlevel 1 goto error goto ok :error @echo BuildFromWeb.bat had an error! goto end :ok @echo BuildFromWeb.bat built and uploaded a new distribution. :end cd %ORIG_DIR%