# HG changeset patch # User Shabe Razvi # Date 1268820780 0 # Node ID 58a997e8d91dae211d5183130b8bd75e74c0f38b # Parent 20147f9352da19e61b12a37e2e79e11dcd31ef54 Add downloadkit functionality to PDK_Helium. Platform rebuild can now be done just by specifying PDK version no. diff -r 20147f9352da -r 58a997e8d91d PDK_Helium/config.xml --- a/PDK_Helium/config.xml Tue Mar 16 16:34:49 2010 +0000 +++ b/PDK_Helium/config.xml Wed Mar 17 10:13:00 2010 +0000 @@ -2,15 +2,13 @@ <h3>Description</h3> -<li>This project will rebuild the Symbian^2 and Symbian^3 Platform from source using a Bill Of Materials that can be downloaded from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a> +<li>This project will rebuild the Symbian^2 and Symbian^3 Platform from source using a Bill Of Materials that can either be downloaded from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page</a> or from within the job itself. <li>It encapsulates the steps as defined in the <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium"/>manual build process </a>for Helium and is a simple way to start building using the Foundation Build Framework. <br><br> The Foundation Build Framework (FBF) is an Apache ANT-like configuration that can be used with the Helium tool, delivered in the <a href="https://developer.symbian.org/main/tools_and_kits/downloads/view.php?id=4"/>PDT</a>. <h3>Prerequisites</h3> <li>Installation of mandatory <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Installing_Build_Tools"/>build tools</a> -<li>Download of required (and recommended) <a href=" -http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Getting_the_Baseline"/>zips </a> from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a> <h3>Additional Information</h3> Source for the FBF can be downloaded from the following Mercurial Repositories - @@ -21,6 +19,9 @@ false + + false + @@ -34,6 +35,20 @@ M: + KIT_VERSION + Version of the kit to download. e.g. +<li>2.0.2 +<li>3.0.h + + + + DOWNLOAD_KIT + This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if - +<li>You havnt downloaded these archives already +<li>You're not sure if you have the correct archives + false + + RELEASE_ZIP_LOCATION Location of <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a> e.g. <li>build_BOM.zip @@ -42,6 +57,18 @@ + + SRC_LOCATION + How to get source for building the Platform - +<li>BOM - download source direct from <a href="https://developer.symbian.org/oss">web</a> using downloaded Bill Of Materials +<li>ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk + + + BOM + ZIPFILES + + + REBUILD_TOOLS Tick this if you want to rebuild "TOOLS" target as well @@ -68,27 +95,16 @@ - - SRC_LOCATION - How to get src for building the Platform. -<li>BOM - download source direct from <a href="https://developer.symbian.org/oss">web</a> using downloaded Bill Of Materials -<li>ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk - - - BOM - ZIPFILES - - - HG_USERNAME - Enter your symbian developer web username <i>(required for download of packages from BOM, not needed when using source zip packages)</i> + Enter your symbian developer web username <i>(required for any downloading of packages from BOM)</i> HG_PASSWORD - Enter your Mercurial symbian developer web password <i>(required for download of packages from BOM, not needed when using source zip packages)</i> -<br> + Enter your symbian developer web password <i>(required for any downloading of packages from BOM)</i> +<br> +Note: Please be aware that your password will be displayed in <b>cleartext</b> in the top of the console log @@ -123,6 +139,7 @@ PDK_2.0.2 PDK_2.0.1 PDK_2.0.0 + PDK_3.0.h PDK_3.0.g PDK_3.0.f PDK_3.0.e @@ -135,6 +152,8 @@ + + true @@ -144,6 +163,22 @@ true + @ECHO OFF +IF "%DOWNLOAD_KIT%"=="false" EXIT 0 +IF "%SRC_LOCATION%"=="BOM" SET DO_SRC_DOWNLOAD=--nosrc +IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE +hg pull --update -R C:\Symbian\utilities +GOTO DOWNLOADKIT +:CLONE +hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities +:DOWNLOADKIT +mkdir %RELEASE_ZIP_LOCATION% +cd /d %RELEASE_ZIP_LOCATION% +@ECHO ON +C:\Symbian\utilities\downloadkit\downloadkit.py --nounzip --nowinscw --noarmv5 --progress %DO_SRC_DOWNLOAD% %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD% +exit 0 + + %BUILD_DRIVE% cd\ rmdir /q/s sf-bootstrap