383
|
1 |
@echo on
|
|
2 |
|
|
3 |
rem Run this script to build Carbide.c
|
|
4 |
|
|
5 |
set TOP=D:\work
|
|
6 |
|
|
7 |
rem Prerequisites
|
|
8 |
rem Install Merurial
|
|
9 |
rem Install Java jdk-1_5_0_15
|
|
10 |
rem Install Cygwin in C:\cygwin (must also have cygwin\bin2)
|
|
11 |
rem Install Carbide.c ADT in %TOP%\ADT
|
|
12 |
|
|
13 |
rem set WORKSPACE. The path to WORKSPACE must be short (about 30 characters)
|
|
14 |
set WORKSPACE=D:\work\build
|
|
15 |
if not exist %WORKSPACE% mkdir %WORKSPACE%
|
|
16 |
|
|
17 |
rem set Mercurial host, revision, username and password
|
|
18 |
set HG_SFL_HOST=dacvs002.americas.nokia.com/hg/Austin/MCL/sftools
|
|
19 |
set HG_EPL_HOST=dacvs002.americas.nokia.com/hg/Austin/MCL/sftools
|
|
20 |
set HG_REVISION=RCL_2_1
|
|
21 |
set HG_USERNAME=
|
|
22 |
set HG_PASSWORD=
|
|
23 |
|
|
24 |
chdir /D %TOP%
|
|
25 |
hg clone -r %HG_REVISION% http://%HG_USERNAME%:%HG_PASSWORD%@%HG_EPL_HOST%/dev/ide/carbidecpp/
|
|
26 |
|
|
27 |
chdir /D C:\cygwin\bin2
|
|
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
|