automation/product_builder/carbide.c/build_carbide.bat
author cawthron
Thu, 30 Jul 2009 13:29:28 -0500
branchRCL_2_1
changeset 383 c7f424dea615
child 386 1eb192be3ff4
permissions -rw-r--r--
add Symbian Foundation build scripts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
383
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     1
@echo on
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     2
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     3
rem Run this script to build Carbide.c
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     4
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     5
set TOP=D:\work
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     6
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     7
rem Prerequisites
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     8
rem Install Merurial
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
     9
rem Install Java jdk-1_5_0_15
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    10
rem Install Cygwin in C:\cygwin (must also have cygwin\bin2)
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    11
rem Install Carbide.c ADT in %TOP%\ADT
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    12
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    13
rem set WORKSPACE. The path to WORKSPACE must be short (about 30 characters)
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    14
set WORKSPACE=D:\work\build
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    15
if not exist %WORKSPACE% mkdir %WORKSPACE%
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    16
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    17
rem set Mercurial host, revision, username and password
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    18
set HG_SFL_HOST=dacvs002.americas.nokia.com/hg/Austin/MCL/sftools
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    19
set HG_EPL_HOST=dacvs002.americas.nokia.com/hg/Austin/MCL/sftools
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    20
set HG_REVISION=RCL_2_1
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    21
set HG_USERNAME=
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    22
set HG_PASSWORD=
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    23
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    24
chdir /D %TOP%
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    25
hg clone -r %HG_REVISION% http://%HG_USERNAME%:%HG_PASSWORD%@%HG_EPL_HOST%/dev/ide/carbidecpp/
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    26
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    27
chdir /D C:\cygwin\bin2
c7f424dea615 add Symbian Foundation build scripts
cawthron
parents:
diff changeset
    28
call cmd_call_bash.bat %TOP%/carbidecpp/automation/product_builder/carbide.c/build_carbide.sh --WORKSPACE:%WORKSPACE% --CARBIDE_VERSION_2DIGITS:2.1 --CARBIDE_VERSION_3DIGITS:2.1.1 --HG_SFL_HOST:%HG_SFL_HOST% --HG_EPL_HOST:%HG_EPL_HOST% --HG_REVISION:%HG_REVISION% --HG_USERNAME:%HG_USERNAME% --HG_PASSWORD:%HG_PASSWORD% --BASE_CARBIDE:%TOP%/ADT