@echo off goto start # COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED. # # Module name : jats.bat # Module type : JATS Startup # Compiler(s) : Windows cmd.exe script # Environment(s): Vix Build System # # Description: # JATS startup BATCH file to configure and run JATS # Tailor the environment variables and place within your PATH # # Installed from: # Package: # Version: #.........................................................................# :start REM REM Important JATS environment variables REM REM GBE_MACHTYPE - The type of this machine REM GBE_PERL - The Perl binary to use REM GBE_CORE - The path to the JATS core(*) REM GBE_DPKG - The main dpkg_archives repository (*) REM GBE_DPKG_CACHE - Optional cache archive (*) REM GBE_DPKG_CACHE_CTL - Optional control of GBE_DPKG_CACHE REM GBE_DPKG_LOCAL - Optional local archive (*) REM GBE_DPKG_STORE - Optional global archive store (*) REM GBE_DPKG_REPLICA - Optional package archive store (*) REM GBE_DPKG_ESCROW - Optional package archive store for escrow (*) REM GBE_DPLY - Optional Deployment archive (*) REM GBE_BUILDFILTER - Optional Build filter specification(*) REM GBE_PLATFORM - Optional PLATFORM filter. Only these(*) REM PLATFORMS will built and make REM GBE_ABT - Special. Set by the Auto Build Tool REM GBE_JATS_VERSION - Specific version of JATS to be used REM GBE_VIEWBASE - Base directory for creating views REM GBE_VCS - Default Version Control System (cc or svn) REM GBE_CACHE_JATS - Control caching of JATS itself REM REM Use "jats man EnvVars" for a complete description of environment variables REM REM (*) User environment variable will be used if present REM setlocal DISABLEDELAYEDEXPANSION set GBE_MACHTYPE=win32 set GBE_PERL=\bin\perl.exe set LIB= set INCLUDE= REM Specify user-local configuration if exist %~dp0\jats_config.bat CALL %~dp0\jats_config.bat REM V drive should be mapped to the 'devl' share of a package server REM ie: net use v: \\auperaarc01\devl if "%GBE_DPKG%"=="" set GBE_DPKG= if "%GBE_DPKG_CACHE%"=="" set GBE_DPKG_CACHE= if "%GBE_DPKG_CACHE_CTL%"=="" set GBE_DPKG_CACHE_CTL= if "%GBE_DPKG_LOCAL%"=="" set GBE_DPKG_LOCAL= if "%GBE_DPKG_STORE%"=="" set GBE_DPKG_STORE= if "%GBE_DPKG_REPLICA%"=="" set GBE_DPKG_REPLICA= if "%GBE_DPKG_ESCROW%"=="" set GBE_DPKG_ESCROW= if "%GBE_DPLY%"=="" set GBE_DPLY= if "%GBE_CORE%"=="" set GBE_CORE=%GBE_DPKG%\core_devl\jats2_current if "%GBE_PLATFORM%"=="" set GBE_PLATFORM= if "%GBE_VIEWBASE%"=="" set GBE_VIEWBASE=d:\Work if "%GBE_CACHE_JATS%"=="" set GBE_CACHE_JATS=1 if "%GBE_VCS%"=="" set GBE_VCS=svn if "%GBE_BUILDFILTER%"=="" set GBE_BUILDFILTER=VS2015 VS2015_X64 REM # Release Manager configuration if "%GBE_RM_LOCATION%"=="" set GBE_RM_LOCATION=jdbc:oracle:thin:@auawsards001.vix.local:1521:RELEASEM if "%GBE_RM_USERNAME%"=="" set GBE_RM_USERNAME=RM_READONLY if "%GBE_RM_PASSWORD%"=="" set GBE_RM_PASSWORD=RM_READONLY if "%GBE_RM_URL%"=="" set GBE_RM_URL=http://bms:8002/ManagerSuite/Release_Manager if "%GBE_DM_LOCATION%"=="" set GBE_DM_LOCATION=%GBE_RM_LOCATION% if "%GBE_DM_USERNAME%"=="" set GBE_DM_USERNAME=DM_READONLY if "%GBE_DM_PASSWORD%"=="" set GBE_DM_PASSWORD=DM_READONLY if "%GBE_DM_URL%"=="" set GBE_DM_URL=http://bms:8002/ManagerSuite/Deployment_Manager REM SubVersion Support if "%GBE_SVN_PATH%"=="" set GBE_SVN_PATH=c:/Program Files/TortoiseSVN/bin if "%GBE_SVN_URL_AUPERASVN01%"=="" set GBE_SVN_URL_AUPERASVN01=https://auawsasvn001.vix.local/svn if "%GBE_SVN_URL_FRBESASVN01%"=="" set GBE_SVN_URL_FRBESASVN01=http://frbesasvn01.vix.local/svn if "%GBE_SVN_URL%"=="" set GBE_SVN_URL=%GBE_SVN_URL_AUPERASVN02% REM............... Internal Use. Do not modify............................# REM set PERL5LIB= set GBE_BIN= set GBE_TOOLS= set GBE_CONFIG= set GBE_SCRIPT=%~f0% : %*% REM IF NOT EXIST %GBE_PERL% ( echo ERROR File not found: %GBE_PERL% exit /b 1 ) IF NOT EXIST %GBE_CORE%\TOOLS\jats.pl ( echo ERROR File not found: %GBE_CORE%\TOOLS\jats.pl exit /b 1 ) REM Start the JATS wrapper script passing all the user options %GBE_PERL% %GBE_CORE%\TOOLS\jats.pl %*% REM End of Script