AppServerRefresh.bat

@echo off

rem Setup the Environment Variable for AppServer
rem call setAppserverEnv.bat

rem Setup the Environment Variables for V2xx_​CM_​DEMO_​DEV_​WIN_​TC_​ORA
rem cd /d %DEVDIR%\SPLSDKCommon
rem call setupEnv2xx.cmd

rem Execute splenviron
rem cd /d %BINDIR%
rem cmd /k "call splenviron.cmd -e V2xx_​CM_​DEMO_​DEV_​WIN_​TC_​ORA"

if not exist %BUILDSERVER_​MAP% goto map_​error

if not exist %SPLAPPDIR% goto app_​error

cd /d %SPLAPPDIR%
call %ANT_​HOME%\bin\ant.bat -l %SPLAPPDIR%\log.txt

goto end


:map_​error
echo Error: Could not find build server path %BUILDSERVER_​MAP%
goto end

:app_​error
echo Error: App server path %SPLAPPDIR% not found
goto end

:end