@echo off goto start # # Module name : jats.bat # Module type : Makefile system # Compiler(s) : # Environment(s): n/a # # Description: # Template file for a BATCH file to simplify access to a wrapper # script to simplify use of JATS components. # # Tailor the environment variables and place within your PATH # # To be processed by the Windows cmd.exe command processor # # Package: PACKAGE_TAG # Version: VERSION_TAG #.........................................................................# :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_LOCAL - Optional local archive (*) REM GBE_DPKG_STORE - Optional global archive store (*) 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=c:\perl\bin\perl.exe REM V drive should be mapped to the 'devl' share of a package server REM ie: net use v: \\auperaacr01\devl if "%GBE_DPKG%"=="" set GBE_DPKG=v:\dpkg_archive REM if "%GBE_CORE%"=="" set GBE_CORE=%GBE_DPKG%\core_devl\jats2_current if "%GBE_CORE%"=="" set GBE_CORE=%GBE_DPKG%\PACKAGE_TAG\VERSION_TAG if "%GBE_DPKG_CACHE%"=="" set GBE_DPKG_CACHE= if "%GBE_DPKG_LOCAL%"=="" set GBE_DPKG_LOCAL= if "%GBE_DPKG_STORE%"=="" set GBE_DPKG_STORE= if "%GBE_DPLY%"=="" set GBE_DPLY= if "%GBE_PLATFORM%"=="" set GBE_PLATFORM= if "%GBE_VIEWBASE%"=="" set GBE_VIEWBASE= if "%GBE_CACHE_JATS%"=="" set GBE_CACHE_JATS=1 if "%GBE_VCS%"=="" set GBE_VCS=svn if "%GBE_BUILDFILTER%"=="" set GBE_BUILDFILTER=!LMOS_WIN32 !DF4OBE !MPT REM # Toolset configuration REM # Visual Studio 6 - Assumed to be installed in default location REM # Visual Studio 7 - Assumed to be installed in default location REM # set LIB= set INCLUDE= REM # Setup for a Microtec C compiler REM # for the 68K compiler and the ColdFire processors REM # Note: Version-specific compilers use variables of the form REM # MRI_68Kxx or MRI_CFxx where xx is a version identifier REM # set MRI_68K=c:\microtec set MRI_CF=c:\MGC set VISIONCLICK=c:\ESTII REM set MRI_68K45=c:\microtek_4.5R REM Intellect Support REM MKS TOOLKIT REM Microtec Compiler set MKS6_1A=C:\mks\6_1a set MRI_INTELLECT=C:\mri\4_5r REM # GnuPro-H8 set GNUPROH8=C:\GnuProH8 REM # Lint related set PCLINT=z:\DPG_SWBase\tools\lint REM set LINTPACKAGE=1 REM #Keil Compiler set KEILC51=c:\Keil\C51v41 REM set KEILMDK_ARM340=C:\Keil\ARM REM set KEILMDK_ARM43A=C:\Keil\4.03a\ARM REM #M16c (MCR compiler) set MTOOL=c:\MTOOL REM #Atmel Compiler set GBE_AVR_IAR=C:\Program Files\IAR Systems\Embedded Workbench 4.0 REM #Borland CBuilder6 REM # BCB Must not have spaces in it REM # Preferred install directory is: REM set c:\BCB6\CBuilder6 REM #Borland Delphi7 REM # DELPHI7 Must not have spaces in it REM set DELPHI7=c:\PROGRA~1\Borland\Delphi7 REM # Java Versions set JAVA_HOME_1_4=C:\j2sdk1.4.2_04 set JAVA_HOME_1_5=C:\Program Files\Java\jdk1.5.0_09 set JAVA_HOME_1_6=C:\Program Files\Java\jdk1.6.0_01 REM # Default Java version to use if none is specified REM # This may be set globablly REM set JAVA_HOME=%JAVA_HOME_1_4% REM set JAVA_HOME=%JAVA_HOME_1_5% REM set JAVA_HOME=%JAVA_HOME_1_6% REM # Ant Version REM # This may be set globablly REM set ANT_HOME=C:\apache-ant-1.6.5 REM # Release Manager configuration REM # Essential for ABT use. Normally optional REM # Normally set globaly on a 'BuildMachine' if "%GBE_RM_LOCATION%"=="" set GBE_RM_LOCATION=jdbc:oracle:thin:@auperaprm01:1521:RELEASEM if "%GBE_RM_USERNAME%"=="" set GBE_RM_USERNAME=MS_READONLY if "%GBE_RM_PASSWORD%"=="" set GBE_RM_PASSWORD=MS_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=%GBE_RM_USERNAME% if "%GBE_DM_PASSWORD%"=="" set GBE_DM_PASSWORD=%GBE_RM_PASSWORD% if "%GBE_DM_URL%"=="" set GBE_DM_URL=http://bms:8002/ManagerSuite/Deployment_Manager REM SubVersion Support REM set GBE_SVN_USERNAME= REM set GBE_SVN_PASSWORD= if "%GBE_SVN_PATH%"=="" set GBE_SVN_PATH=c:/Program Files/TortoiseSVN/bin if "%GBE_SVN_URL_AUPERASVN01%"=="" set GBE_SVN_URL_AUPERASVN01=https://auperasvn01.aupera.erggroup.com/svn if "%GBE_SVN_URL_FRBESASVN01%"=="" set GBE_SVN_URL_FRBESASVN01=http://frbesasvn01.frbesa.erggroup.com/svn if "%GBE_SVN_URL%"=="" set GBE_SVN_URL=%GBE_SVN_URL_AUPERASVN01% REM............... Internal Use. Do not modify............................# REM set PERL5LIB= set GBE_BIN= set GBE_TOOLS= set GBE_CONFIG= set GBE_SCRIPT=%~f0% : %*% REM REM Start the JATS wrapper script passing all the user options %GBE_PERL% %GBE_CORE%\TOOLS\jats.pl %*%