author | duane.cawthron@nokia.com |
Mon, 17 Aug 2009 13:29:55 -0500 | |
branch | RCL_2_1 |
changeset 445 | 339bf2142549 |
parent 386 | 1eb192be3ff4 |
permissions | -rw-r--r-- |
383 | 1 |
@echo on |
2 |
||
3 |
rem Run this script to build Carbide.c |
|
4 |
||
445
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
5 |
set TOP=C:\work |
383 | 6 |
|
7 |
rem Prerequisites |
|
8 |
rem Install Merurial |
|
445
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
9 |
rem Install Java JDK-1_5_0_20-b02 |
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
10 |
rem Install Cybwin in c:\cywin (must also have cygwin\bin2) |
383 | 11 |
rem Install Carbide.c ADT in %TOP%\ADT |
12 |
||
13 |
rem set WORKSPACE. The path to WORKSPACE must be short (about 30 characters) |
|
445
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
14 |
set WORKSPACE=C:\work\build |
383 | 15 |
if not exist %WORKSPACE% mkdir %WORKSPACE% |
16 |
||
386
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
17 |
rem set Mercurial host |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
18 |
rem |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
19 |
rem Nokia Austin |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
20 |
rem set HG_SFL_HOST=dacvs002.americas.nokia.com/hg/Austin/MCL/sftools |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
21 |
rem set HG_EPL_HOST=dacvs002.americas.nokia.com/hg/Austin/MCL/sftools |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
22 |
rem |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
23 |
rem Nokia London |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
24 |
rem set HG_SFL_HOST=sylgbpwe0001.symbian.intra/hg/i_hg/sfl/MCL/sftools |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
25 |
rem set HG_EPL_HOST=sylgbpwe0001.symbian.intra/hg/i_hg/oss/MCL/sftools |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
26 |
rem |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
27 |
rem Symbian Foundation |
445
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
28 |
set HG_SFL_HOST=developer.symbian.org/sfl/MCL/sftools |
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
29 |
set HG_EPL_HOST=developer.symbian.org/oss/MCL/sftools |
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
30 |
|
386
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
31 |
rem set Mercurial username and password |
445
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
32 |
set HG_USERNAME |
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
33 |
set HG_PASSWORD |
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
34 |
set HG_HTTP=https |
383 | 35 |
|
386
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
36 |
rem set Mercurial revision |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
37 |
set HG_REVISION=RCL_2_1 |
1eb192be3ff4
update batch file and README for Symbian Foundation build
cawthron
parents:
383
diff
changeset
|
38 |
|
383 | 39 |
chdir /D %TOP% |
445
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
40 |
hg clone -r %HG_REVISION% %HG_HTTP%//%HG_USERNAME%:%HG_PASSWORD%@%HG_EPL_HOST%/dev/ide/carbidecpp/ |
383 | 41 |
|
42 |
chdir /D C:\cygwin\bin2 |
|
43 |
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 |
|
445
339bf2142549
update from Symbian Foundation build team
duane.cawthron@nokia.com
parents:
386
diff
changeset
|
44 |