| | |
| | | |
| | | :checkNewVersion |
| | | if exist "upgrade.bat.NEW" goto newVersion |
| | | goto checkOpenDSJavaBin |
| | | |
| | | :newVersion |
| | | echo A new version of this script was made available by the last upgrade |
| | | echo operation. Delete this old version and rename file 'upgrade.bat.NEW' |
| | | echo to 'upgrade.bat' before continuing. |
| | | goto end |
| | | |
| | | set SCRIPT_NAME=upgrade |
| | | |
| | |
| | | if %errorlevel% == 0 goto end |
| | | goto error |
| | | |
| | | :newVersion |
| | | echo A new version of this script was made available by the last upgrade |
| | | echo operation. Delete this old version and rename file 'upgrade.bat.NEW' |
| | | echo to 'upgrade.bat' before continuing. |
| | | goto end |
| | | |
| | | :upgrader |
| | | set CLASSPATH="" |
| | | FOR %%x in ("%INSTANCE_ROOT%\tmp\upgrade\lib\*.jar") DO call "%INSTANCE_ROOT%\lib\setcp.bat" %%x |