Changeset 3546 for trunk/misc/install/update_proteios-win.bat
- Timestamp:
- Jan 18, 2010, 5:11:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/misc/install/update_proteios-win.bat
r3096 r3546 274 274 call inp2var.bat here prompt.txt no_input 275 275 echo Deploying %app_name% into %catalina_home% 276 rem277 rem Due to problems creating a *.lnk shortcut in a batch file,278 rem this part is replaced by instructions on how to copy279 rem the www directory to CATALINA_HOME\webapps\, and then280 rem renaming the directory to APP_NAME281 rem282 276 echo ________________________________________________________________________ 283 echo Instructions for employing %app_name% into Tomcat: 284 echo. 285 echo 1. Remove any existing directory %catalina_home%\webapps\%app_name% and all its contents 286 echo 2. Copy directory %here%\www and all its contents to %catalina_home%\webapps\ 287 echo 3. Rename directory %catalina_home%\webapps\www to %catalina_home%\webapps\%app_name% 288 echo ________________________________________________________________________ 289 echo. 277 echo. 278 echo Copying new installation from %here%\www to %catalina_home%\webapps\www. 279 xcopy "%here%"\www "%catalina_home%"\webapps\www /E /I /V /Q 280 if ERRORLEVEL 1 goto failure 281 echo Removing old installation. 282 rmdir "%catalina_home%"\webapps\%app_name% /S /Q 283 if ERRORLEVEL 1 goto failure 284 echo Activating new installation in %catalina_home%\webapps\%app_name%. 285 move "%catalina_home%"\webapps\www "%catalina_home%"\webapps\%app_name% 286 if ERRORLEVEL 1 goto failure 290 287 291 288 rem … … 293 290 rem 294 291 :step_5a 295 set body_text=%app_name% is now updated. Start tomcat before use.292 set body_text=%app_name% is now updated. Restart tomcat before use. 296 293 set next_step=step_5b 297 294 goto print … … 377 374 goto %next_step% 378 375 376 :failure 377 echo Installation failed 378 goto finish 379 379 380 380 381 :finish … … 393 394 set next_step= 394 395 set here= 396 397 echo Press Enter to finish: > prompt.txt 398 call inp2var.bat dummy_var prompt.txt 395 399 :end
Note: See TracChangeset
for help on using the changeset viewer.