blob: 8512d56222e99288b2a97e66c14632ec07cf2097 [file] [log] [blame]
@echo off
rem *****************************************************************************
rem * Copyright (C) 2000-2002, International Business Machines Corporation and *
rem * others. All Rights Reserved. *
rem *****************************************************************************
cd ..\..\..\
echo compiling source code %1
javac -d . -classpath com/ibm/rbm/lib/xerces.jar -deprecation %1 com/ibm/rbm/*.java com/ibm/rbm/gui/*.java
if errorlevel 1 goto error
echo creating jar file
erase com\ibm\rbm\RBManager.jar
jar cfm com/ibm/rbm/RBManager.jar com/ibm/rbm/manifest.stub com/ibm/rbm/*.class com/ibm/rbm/gui/*.class com/ibm/rbm/gui/images/*.gif com/ibm/rbm/resources/RBManager*.properties
if errorlevel 1 goto error
echo cleaning up class files
cd com\ibm\rbm
erase *.class gui\*.class
goto end
:error
cd com\ibm\rbm
pause
:end