📄 run.bat
字号:
@echo ofrem ---------------------------------------------------------------------------rem Start script for running the MTOM Image Transfer Serviceremrem ---------------------------------------------------------------------------rem store the current directoryset CURRENT_DIR=%cd%rem check the AXIS2_HOME environment variableif not "%AXIS2_HOME%" == "" goto gotHomerem guess the home. Jump two directories up and take that as the homecd ..cd ..set AXIS2_HOME=%cd%:gotHomeif EXIST "%AXIS2_HOME%\lib\axis2*.jar" goto okHomeecho The AXIS2_HOME environment variable seems not to point to the correct location!echo This environment variable is needed to run this programpauseexit:okHomerem set the classescd %CURRENT_DIR%setlocal EnableDelayedExpansionrem loop through the libs and add them to the class pathset AXIS2_CLASS_PATH=%AXIS2_HOME%FOR %%c in (%AXIS2_HOME%\lib\*.jar) DO set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;%%cset AXIS2_CLASS_PATH=%AXIS2_CLASS_PATH%;"%CURRENT_DIR%\mtomClient.jar"start javaw -cp %AXIS2_CLASS_PATH% -Daxis2.repo=%AXIS2_HOME% sample.mtom.filetransfer.client.MTOMClientendlocal:end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -