@echo off
REM $Id: deploy.bat,v 1.9 2002/09/09 22:31:21 dblevins Exp $

REM   Contributions by:
REM      David Blevins <david.blevins@visi.com>

if "%OPENEJB_HOME%"=="" set OPENEJB_HOME=%CD%

set JAVA=%JAVA_HOME%\bin\java

set CP=
for %%i in (%OPENEJB_HOME%\dist\openejb*.jar) do call cp.bat %%i
set CP=%JAVA_HOME%\lib\tools.jar;%CP%

set OPTIONS=-Dopenejb.home=%OPENEJB_HOME%

echo --------------SUPPORT INFO-------------
echo %OS%
echo Using JAVA_HOME:     %JAVA_HOME%
echo Using OPENEJB_HOME:  %OPENEJB_HOME%
echo .

%JAVA% %OPTIONS% -classpath %CP% org.openejb.alt.config.Deploy  %1 %2 %3 %4 %5 %6 %7 %8 %9


