2002-05-20 18:53:10 +00:00
|
|
|
@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
|
2004-06-29 18:45:44 +00:00
|
|
|
javac -d . -classpath com/ibm/rbm/lib/xerces.jar -deprecation %1 com/ibm/rbm/*.java com/ibm/rbm/gui/*.java
|
2002-05-20 18:53:10 +00:00
|
|
|
if errorlevel 1 goto error
|
|
|
|
|
|
|
|
echo creating jar file
|
|
|
|
erase com\ibm\rbm\RBManager.jar
|
2004-06-29 18:45:44 +00:00
|
|
|
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
|
2002-05-20 18:53:10 +00:00
|
|
|
if errorlevel 1 goto error
|
|
|
|
|
|
|
|
echo cleaning up class files
|
|
|
|
cd com\ibm\rbm
|
2004-06-29 18:45:44 +00:00
|
|
|
erase *.class gui\*.class
|
2002-05-20 18:53:10 +00:00
|
|
|
goto end
|
|
|
|
|
|
|
|
:error
|
2002-05-20 23:04:14 +00:00
|
|
|
cd com\ibm\rbm
|
2002-05-20 18:53:10 +00:00
|
|
|
pause
|
|
|
|
:end
|