blob: 70ccee5c99e6a9fc1107fd3d83ab20622d658754 [file] [log] [blame]
@echo off
rem ---------------------------------------------------------------------------
rem Start script for the WSDLJava
rem
rem
rem ---------------------------------------------------------------------------
rem Guess AXIS_HOME if not defined
if not "%AXIS_HOME%" == "" goto gotHome
cd ..
set AXIS_HOME=%cd%
:gotHome
if EXIST "%AXIS_HOME%\lib\axis2-M2.jar" goto okHome
echo The AXIS_HOME environment variable seems not to point to the correct location!
echo This environment variable is needed to run this program
pause
exit
:okHome
rem set the classes
set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
java -cp %AXIS2_CLASS_PATH% org.apache.axis.wsdl.WSDL2Java %1 %2 %3 %4 %5 %6 %7 %8 %9
:end