From c1ea07be4ef92106389f68a5e56cd27be126403e Mon Sep 17 00:00:00 2001 From: PriestJ Date: Tue, 12 Feb 2008 16:29:29 +0000 Subject: [PATCH] updated to allow for sat/uat and live builds for webMIP git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3523 248e525c-4dfb-0310-94bc-949c084e9493 --- InstallMIP.cmd | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/InstallMIP.cmd b/InstallMIP.cmd index c0b82ba..cce9ccb 100644 --- a/InstallMIP.cmd +++ b/InstallMIP.cmd @@ -28,6 +28,9 @@ if "%6"=="" goto :done if "%6"=="demo" goto :demo if "%6"=="test" goto :test if "%6"=="fat" goto :fat +if "%6"=="sat" goto :sat +if "%6"=="uat" goto :uat +if "%6"=="live" goto :live :demo @@ -65,9 +68,48 @@ cd ..\.. goto :done +:sat +@echo Install SAT data +cd Data\sat +call InstallData %3/%4@%5 +@echo Installed sat data +@echo Installing sat application in APEX... +ruby apex_auto_install.rb +cd ..\.. + +@echo sat install Complete + +goto :done + +:uat +@echo Install UAT data +cd Data\uat +call InstallData %3/%4@%5 +@echo Installed uat data +@echo Installing uat application in APEX... +ruby apex_auto_install.rb +cd ..\.. + +@echo uat install Complete + +goto :done + +:live +@echo Install live data +cd Data\live +call InstallData %3/%4@%5 +@echo Installed live data +@echo Installing live application in APEX... +ruby apex_auto_install.rb +cd ..\.. + +@echo live install Complete + +goto :done + :usage -echo "usage InstallMIP sys_name sys_password app_name app_password db_connect_string [demo|test|fat]" +echo "usage InstallMIP sys_name sys_password app_name app_password db_connect_string [demo|test|fat|sat|uat|live]" :done sqlplus %3/%4@%5 @Data\BulkLoad\bulk_load.sql "%6" \ No newline at end of file