PDK_Helium/config.xml
changeset 19 1aa526b5b90b
parent 18 58a997e8d91d
child 21 3291c6ed4a3b
equal deleted inserted replaced
18:58a997e8d91d 19:1aa526b5b90b
     1 <?xml version='1.0' encoding='UTF-8'?>
     1 <?xml version='1.0' encoding='UTF-8'?>
     2 <project>
     2 <project>
     3   <actions/>
     3   <actions/>
     4   <description>&lt;h3&gt;Description&lt;/h3&gt;&#xd;
     4   <description>&lt;h3&gt;Description&lt;/h3&gt;&#xd;
     5 &lt;li&gt;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 &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;kits page&lt;/a&gt; or from within the job itself.&#xd;
     5 &lt;li&gt;This project will rebuild the Symbian^3 Platform from source using a Bill Of Materials that can either be downloaded from the &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;kits page&lt;/a&gt; or from within the job itself.&#xd;
     6 &lt;li&gt;It encapsulates the steps as defined in the &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium&quot;/&gt;manual build process &lt;/a&gt;for Helium and is a simple way to start building using the Foundation Build Framework.&#xd;
     6 &lt;li&gt;It encapsulates the steps as defined in the &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium&quot;/&gt;manual build process &lt;/a&gt;for Helium and is a simple way to start building using the Foundation Build Framework.&#xd;
     7 &lt;br&gt;&lt;br&gt;&#xd;
     7 &lt;br&gt;&lt;br&gt;&#xd;
     8 The Foundation Build Framework (FBF) is an Apache ANT-like configuration that can be used with the Helium tool, delivered in the &lt;a href=&quot;https://developer.symbian.org/main/tools_and_kits/downloads/view.php?id=4&quot;/&gt;PDT&lt;/a&gt;.&#xd;
     8 The Foundation Build Framework (FBF) is an Apache ANT-like configuration that can be used with the Helium tool, delivered in the &lt;a href=&quot;https://developer.symbian.org/main/tools_and_kits/downloads/view.php?id=4&quot;/&gt;PDT&lt;/a&gt;.&#xd;
     9 &#xd;
     9 &#xd;
    10 &lt;h3&gt;Prerequisites&lt;/h3&gt;&#xd;
    10 &lt;h3&gt;Prerequisites&lt;/h3&gt;&#xd;
    11 &lt;li&gt;Installation of mandatory &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Installing_Build_Tools&quot;/&gt;build tools&lt;/a&gt;&#xd;
    11 &lt;li&gt;Installation of mandatory &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Installing_Build_Tools&quot;/&gt;build tools&lt;/a&gt;&#xd;
    12 &#xd;
    12 &#xd;
    13 &lt;h3&gt;Additional Information&lt;/h3&gt;&#xd;
    13 &lt;h3&gt;Additional Information&lt;/h3&gt;&#xd;
    14 Source for the FBF can be downloaded from the following Mercurial Repositories -&#xd;
    14 Source for the FBF can be downloaded from the following Mercurial Repositories -&#xd;
    15 &lt;br&gt;&#xd;
    15 &lt;br&gt;&#xd;
    16 &lt;li&gt;FBF Configuration - &lt;a href=&quot;https://developer.symbian.org/oss/FCL/interim/fbf/configs/default/&quot;/&gt;https://developer.symbian.org/oss/FCL/interim/fbf/configs/default/&lt;/a&gt;&#xd;
    16 &lt;li&gt;FBF Configuration - &lt;a href=&quot;http://developer.symbian.org/oss/MCL/sftools/fbf/configs/default&quot;/&gt;http://developer.symbian.org/oss/MCL/sftools/fbf/configs/default/&lt;/a&gt;&#xd;
    17 &lt;li&gt;FBF Platform Project - &lt;a href=&quot;https://developer.symbian.org/oss/FCL/interim/fbf/projects/platforms&quot;/&gt;https://developer.symbian.org/oss/FCL/interim/fbf/projects/platforms&lt;/a&gt;&#xd;
    17 &lt;li&gt;FBF Platform Project - &lt;a href=&quot;http://developer.symbian.org/oss/MCL/sftools/fbf/projects/platforms&quot;/&gt;http://developer.symbian.org/oss/MCL/sftools/fbf/projects/platforms&lt;/a&gt;&#xd;
    18 &lt;li&gt;FBF Bootstrap - &lt;a href=&quot;https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap&quot;/&gt;https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap&lt;/a&gt;&#xd;
    18 &lt;li&gt;FBF Bootstrap - &lt;a href=&quot;http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap&quot;/&gt;http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap&lt;/a&gt;&#xd;
    19 </description>
    19 </description>
    20   <keepDependencies>false</keepDependencies>
    20   <keepDependencies>false</keepDependencies>
    21   <properties>
    21   <properties>
    22     <hudson.security.AuthorizationMatrixProperty>
       
    23       <useProjectSecurity>false</useProjectSecurity>
       
    24     </hudson.security.AuthorizationMatrixProperty>
       
    25     <hudson.model.ParametersDefinitionProperty>
    22     <hudson.model.ParametersDefinitionProperty>
    26       <parameterDefinitions>
    23       <parameterDefinitions>
    27         <hudson.model.StringParameterDefinition>
    24         <hudson.model.StringParameterDefinition>
    28           <name>BUILD_DRIVE</name>
    25           <name>BUILD_DRIVE</name>
    29           <description>Physical Build Drive</description>
    26           <description>Physical Build Drive to perform the build on. Please ensure that there is -
       
    27 &lt;br&gt;
       
    28 &lt;li&gt;50gb free if you&apos;re building 1 target, e.g. winscw debug
       
    29 &lt;li&gt;150gb free if you&apos;re building all 4 targets e.g. armv5 + winscw debug + release</description>
    30           <defaultValue>C:</defaultValue>
    30           <defaultValue>C:</defaultValue>
    31         </hudson.model.StringParameterDefinition>
    31         </hudson.model.StringParameterDefinition>
    32         <hudson.model.StringParameterDefinition>
    32         <hudson.model.StringParameterDefinition>
    33           <name>SUBST_DRIVE</name>
    33           <name>SUBST_DRIVE</name>
    34           <description>Subst&apos;d EPOC drive</description>
    34           <description>Subst&apos;d EPOC drive</description>
    35           <defaultValue>M:</defaultValue>
    35           <defaultValue>M:</defaultValue>
    36         </hudson.model.StringParameterDefinition>
    36         </hudson.model.StringParameterDefinition>
    37         <hudson.model.StringParameterDefinition>
       
    38           <name>KIT_VERSION</name>
       
    39           <description>Version of the kit to download. e.g.
       
    40 &lt;li&gt;2.0.2
       
    41 &lt;li&gt;3.0.h</description>
       
    42           <defaultValue></defaultValue>
       
    43         </hudson.model.StringParameterDefinition>
       
    44         <hudson.model.BooleanParameterDefinition>
    37         <hudson.model.BooleanParameterDefinition>
    45           <name>DOWNLOAD_KIT</name>
    38           <name>DOWNLOAD_KIT</name>
    46           <description>This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if -
    39           <description>This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if -
       
    40 &lt;br&gt;
    47 &lt;li&gt;You havnt downloaded these archives already
    41 &lt;li&gt;You havnt downloaded these archives already
    48 &lt;li&gt;You&apos;re not sure if you have the correct archives</description>
    42 &lt;li&gt;You&apos;re not sure if you have the correct archives</description>
    49           <defaultValue>false</defaultValue>
    43           <defaultValue>false</defaultValue>
    50         </hudson.model.BooleanParameterDefinition>
    44         </hudson.model.BooleanParameterDefinition>
    51         <hudson.model.StringParameterDefinition>
    45         <hudson.model.StringParameterDefinition>
       
    46           <name>KIT_VERSION</name>
       
    47           <description>Version of the BOM to download. e.g.
       
    48 &lt;li&gt;2.0.2
       
    49 &lt;li&gt;3.0.h
       
    50 &lt;br&gt;
       
    51 &lt;b&gt;Mandatory&lt;/b&gt; if downloading the BOM from the web.</description>
       
    52           <defaultValue></defaultValue>
       
    53         </hudson.model.StringParameterDefinition>
       
    54         <hudson.model.StringParameterDefinition>
    52           <name>RELEASE_ZIP_LOCATION</name>
    55           <name>RELEASE_ZIP_LOCATION</name>
    53           <description>Location of &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;release zipfiles&lt;/a&gt; e.g.
    56           <description>Location of &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;release zipfiles&lt;/a&gt; e.g.
    54 &lt;li&gt;build_BOM.zip
    57 &lt;li&gt;build_BOM.zip
    55 &lt;li&gt;tools_epoc.zip
    58 &lt;li&gt;tools_epoc.zip
    56 
    59 &lt;br&gt;
       
    60 If downloading the kit from the web, then this is the &lt;b&gt;target directory&lt;/b&gt; and can be reused again later&lt;br&gt;
       
    61 If building a BOM that you have already downloaded, then this is the &lt;b&gt;existing location&lt;/b&gt; of that build_BOM.zip etc.
    57 </description>
    62 </description>
    58           <defaultValue></defaultValue>
    63           <defaultValue></defaultValue>
    59         </hudson.model.StringParameterDefinition>
    64         </hudson.model.StringParameterDefinition>
    60         <hudson.model.ChoiceParameterDefinition>
    65         <hudson.model.ChoiceParameterDefinition>
    61           <name>SRC_LOCATION</name>
    66           <name>SRC_LOCATION</name>
    62           <description>How to get source for building the Platform -
    67           <description>How to get source for building the Platform -
    63 &lt;li&gt;BOM - download source direct from &lt;a href=&quot;https://developer.symbian.org/oss&quot;&gt;web&lt;/a&gt; using downloaded Bill Of Materials 
    68 &lt;li&gt;BOM - download source direct from &lt;a href=&quot;https://developer.symbian.org/oss&quot;&gt;web&lt;/a&gt; as described in downloaded Bill Of Materials 
    64 &lt;li&gt;ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description>
    69 &lt;li&gt;ZIPFILES - unpack source zips such as src_oss_os.zip from specified (RELEASE_ZIP_LOCATION) location on disk. If selecting DOWNLOAD_KIT option, then it will unpack the source zips that have just been downloaded.</description>
    65           <choices class="java.util.Arrays$ArrayList">
    70           <choices class="java.util.Arrays$ArrayList">
    66             <a class="string-array">
    71             <a class="string-array">
    67               <string>BOM</string>
    72               <string>BOM</string>
    68               <string>ZIPFILES</string>
    73               <string>ZIPFILES</string>
    69             </a>
    74             </a>
    70           </choices>
    75           </choices>
    71         </hudson.model.ChoiceParameterDefinition>
    76         </hudson.model.ChoiceParameterDefinition>
    72         <hudson.model.BooleanParameterDefinition>
    77         <hudson.model.BooleanParameterDefinition>
    73           <name>REBUILD_TOOLS</name>
    78           <name>REBUILD_TOOLS</name>
    74           <description>Tick this if you want to rebuild &quot;TOOLS&quot; target as well
    79           <description>Tick this if you want to rebuild &quot;TOOLS&quot;
    75 &lt;li&gt; Requires comercial VC++ 6.0 installed plus -
    80 &lt;li&gt; Requires comercial VC++ 6.0 installed</description>
    76 &lt;li&gt; Requires binaries_epoc32_stlport.zip from &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;release zipfiles&lt;/a&gt;</description>
       
    77           <defaultValue>false</defaultValue>
       
    78         </hudson.model.BooleanParameterDefinition>
       
    79         <hudson.model.BooleanParameterDefinition>
       
    80           <name>SPLIT_BUILD</name>
       
    81           <description>Is the baseline run in two distinct steps (GT+S60)? Tick this if -
       
    82 &lt;li&gt; Building older Symbian^2 PDKs. e.g. 2.0.d or earlier.
       
    83 &lt;li&gt; Building older Symbian^3 PDKs. e.g. 3.0.f or earlier</description>
       
    84           <defaultValue>false</defaultValue>
    81           <defaultValue>false</defaultValue>
    85         </hudson.model.BooleanParameterDefinition>
    82         </hudson.model.BooleanParameterDefinition>
    86         <hudson.model.ChoiceParameterDefinition>
    83         <hudson.model.ChoiceParameterDefinition>
    87           <name>LOCALISATION</name>
    84           <name>LOCALISATION</name>
    88           <description>Select whether to build more than one set of localised resources
    85           <description>Select whether to build more than one set of localised resources
   124 &lt;li&gt;winscw_udeb.whatlog
   121 &lt;li&gt;winscw_udeb.whatlog
   125 &lt;li&gt;winscw_udeb.whatlog, armv5_urel.whatlog
   122 &lt;li&gt;winscw_udeb.whatlog, armv5_urel.whatlog
   126 &lt;li&gt;armv5.whatlog,winscw.whatlog</description>
   123 &lt;li&gt;armv5.whatlog,winscw.whatlog</description>
   127           <defaultValue>winscw_udeb.whatlog</defaultValue>
   124           <defaultValue>winscw_udeb.whatlog</defaultValue>
   128         </hudson.model.StringParameterDefinition>
   125         </hudson.model.StringParameterDefinition>
   129         <hudson.model.ChoiceParameterDefinition>
   126         <hudson.model.StringParameterDefinition>
   130           <name>FBF_REV</name>
   127           <name>FBF_REV</name>
   131           <description>The tagged version of the FBF (Helium) to use to build the Platform.
   128           <description>The tagged version of the FBF (Helium) to use to build the Platform.
   132 &lt;li&gt;default - is the latest revision from the web
   129 &lt;li&gt;default - is the latest revision from the web
       
   130 &lt;li&gt;PDK_3.0.h - for 3.0.h revision etc.
   133 &lt;br&gt;&lt;br&gt;
   131 &lt;br&gt;&lt;br&gt;
   134 &lt;i&gt;Unless you want a specific revision, its recommended to use the &apos;default&apos; revision of the FBF&lt;/i&gt;
   132 &lt;i&gt;Unless you want a specific revision, its recommended to use the &apos;default&apos; revision of the FBF&lt;/i&gt;</description>
   135 </description>
   133           <defaultValue>default</defaultValue>
   136           <choices class="java.util.Arrays$ArrayList">
   134         </hudson.model.StringParameterDefinition>
   137             <a class="string-array">
       
   138               <string>default</string>
       
   139               <string>PDK_2.0.2</string>
       
   140               <string>PDK_2.0.1</string>
       
   141               <string>PDK_2.0.0</string>
       
   142               <string>PDK_3.0.h</string>
       
   143               <string>PDK_3.0.g</string>
       
   144               <string>PDK_3.0.f</string>
       
   145               <string>PDK_3.0.e</string>
       
   146               <string>PDK_3.0.d</string>
       
   147               <string>PDK_3.0.c</string>
       
   148               <string>PDK_3.0.b</string>
       
   149               <string>PDK_3.0.a</string>
       
   150             </a>
       
   151           </choices>
       
   152         </hudson.model.ChoiceParameterDefinition>
       
   153       </parameterDefinitions>
   135       </parameterDefinitions>
   154     </hudson.model.ParametersDefinitionProperty>
   136     </hudson.model.ParametersDefinitionProperty>
   155     <hudson.plugins.disk__usage.DiskUsageProperty/>
       
   156     <hudson.plugins.descriptionsetter.JobByDescription/>
       
   157   </properties>
   137   </properties>
   158   <scm class="hudson.scm.NullSCM"/>
   138   <scm class="hudson.scm.NullSCM"/>
   159   <canRoam>true</canRoam>
   139   <canRoam>true</canRoam>
   160   <disabled>false</disabled>
   140   <disabled>false</disabled>
   161   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   141   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   173 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
   153 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
   174 :DOWNLOADKIT
   154 :DOWNLOADKIT
   175 mkdir %RELEASE_ZIP_LOCATION%
   155 mkdir %RELEASE_ZIP_LOCATION%
   176 cd /d %RELEASE_ZIP_LOCATION%
   156 cd /d %RELEASE_ZIP_LOCATION%
   177 @ECHO ON
   157 @ECHO ON
   178 C:\Symbian\utilities\downloadkit\downloadkit.py --nounzip --nowinscw --noarmv5 --progress %DO_SRC_DOWNLOAD% %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD%
   158 C:\Symbian\utilities\downloadkit\downloadkit.py --nounzip --nowinscw --noarmv5 --progress %DO_SRC_DOWNLOAD% %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD% 
   179 exit 0</command>
   159 exit 0</command>
   180     </hudson.tasks.BatchFile>
   160     </hudson.tasks.BatchFile>
   181     <hudson.tasks.BatchFile>
   161     <hudson.tasks.BatchFile>
   182       <command>%BUILD_DRIVE%
   162       <command>%BUILD_DRIVE%
   183 cd\
   163 cd\
   184 rmdir /q/s sf-bootstrap
   164 mkdir %TMP%\sf-bootstrap.%BUILD_NUMBER%
   185 mkdir sf-bootstrap
   165 cd /d %TMP%\sf-bootstrap.%BUILD_NUMBER%
   186 cd sf-bootstrap
   166 hg clone http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap
   187 hg clone http://developer.symbian.org/oss/FCL/interim/fbf/bootstrap
       
   188 cd bootstrap
   167 cd bootstrap
   189 hlm -f bootstrap.xml -Dsf.project.repo=http://developer.symbian.org/oss/FCL/interim/fbf/projects/platforms -Dsf.config.repo=http://developer.symbian.org/oss/FCL/interim/fbf/configs/default -Dsf.target.dir=%BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER% -Dsf.config.rev=%FBF_REV% -Dsf.project.rev=%FBF_REV%</command>
   168 hlm -f bootstrap.xml -Dsf.project.repo=http://developer.symbian.org/oss/MCL/sftools/fbf/projects/platforms -Dsf.config.repo=http://developer.symbian.org/oss/MCL/sftools/fbf/configs/default -Dsf.target.dir=%BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER% -Dsf.config.rev=%FBF_REV% -Dsf.project.rev=%FBF_REV%
       
   169 rd %TMP%\sf-bootstrap.%BUILD_NUMBER% /q/s</command>
   190     </hudson.tasks.BatchFile>
   170     </hudson.tasks.BatchFile>
   191     <hudson.tasks.BatchFile>
   171     <hudson.tasks.BatchFile>
   192       <command>%BUILD_DRIVE%
   172       <command>%BUILD_DRIVE%
   193 cd\
   173 cd\
   194 set HG_PASSWORD=
   174 set HG_PASSWORD=
   195 set PROJECT=single
   175 set PROJECT=single
   196 set TOOLS_BASELINE_ENABLE=true
   176 set TOOLS_BASELINE_ENABLE=true
   197 set TOOLS_CONFIG=tools_rel.whatlog,tools2_rel.whatlog
   177 set TOOLS_CONFIG=tools_rel.whatlog,tools2_rel.whatlog
   198 IF %SPLIT_BUILD% == true set PROJECT=split
       
   199 IF %REBUILD_TOOLS% == true set TOOLS_BASELINE_ENABLE=false
   178 IF %REBUILD_TOOLS% == true set TOOLS_BASELINE_ENABLE=false
   200 IF %REBUILD_TOOLS% == false set TOOLS_CONFIG=tools2_rel.whatlog
   179 IF %REBUILD_TOOLS% == false set TOOLS_CONFIG=tools2_rel.whatlog
   201 cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
   180 cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
   202 hlm sf-prep -Dbuild.drive=%SUBST_DRIVE% -Dsf.spec.job.number=%JOB_NAME%.%BUILD_NUMBER% -Dsf.spec.job.codeline=&quot;%SRC_LOCATION%&quot; -Dsf.project.location=%BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\build\config\%PLATFORM%\%PROJECT% -Dsf.spec.splitbuild=%SPLIT_BUILD% -Dsf.spec.sbs.config=&quot;%TARGET%&quot; -Dsf.spec.baseline.enable=%TOOLS_BASELINE_ENABLE% -Dsf.spec.sbs.tools.config=&quot;%TOOLS_CONFIG%&quot; -Dsf.spec.job.rootdir=%BUILD_DRIVE% -Dsf.suppress.buildenv.check=true -Dsf.suppress.drive.space.check=true -Dsf.spec.logs.raptorfilter.enable=false</command>
   181 hlm sf-prep -Dbuild.drive=%SUBST_DRIVE% -Dsf.spec.job.number=%JOB_NAME%.%BUILD_NUMBER% -Dsf.spec.job.codeline=&quot;%SRC_LOCATION%&quot; -Dsf.project.location=%BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\build\config\%PLATFORM%\%PROJECT% -Dsf.spec.splitbuild=false -Dsf.spec.sbs.config=&quot;%TARGET%&quot; -Dsf.spec.baseline.enable=%TOOLS_BASELINE_ENABLE% -Dsf.spec.sbs.tools.config=&quot;%TOOLS_CONFIG%&quot; -Dsf.spec.job.rootdir=%BUILD_DRIVE% -Dsf.suppress.buildenv.check=true -Dsf.suppress.drive.space.check=true -Dsf.spec.logs.raptorfilter.enable=false -Dsf.spec.publish.enable=false -Dsf.spec.package.bin.enable=false -Dsf.spec.test.sendpkg.enable=false -Dskip.sbs.layer.generation=true -Dsf.spec.bldmefirst.s60.variant=%LOCALISATION%</command>
   203     </hudson.tasks.BatchFile>
   182     </hudson.tasks.BatchFile>
   204     <hudson.tasks.BatchFile>
   183     <hudson.tasks.BatchFile>
   205       <command>%SUBST_DRIVE%
   184       <command>%SUBST_DRIVE%
   206 cd\
   185 cd\
   207 mkdir tmp
   186 mkdir tmp
   208 copy %RELEASE_ZIP_LOCATION%\build_BOM.zip %SUBST_DRIVE%\tmp
   187 copy %RELEASE_ZIP_LOCATION%\build_BOM.zip %SUBST_DRIVE%\tmp
   209 copy %RELEASE_ZIP_LOCATION%\binaries_epoc_additional.zip %SUBST_DRIVE%\tmp
   188 
       
   189 REM for releases prior to 3.0.i replace binaries_prebuilt.zip with binaries_epoc_additional.zip 
       
   190 copy %RELEASE_ZIP_LOCATION%\binaries_prebuilt.zip %SUBST_DRIVE%\tmp
       
   191 
   210 rem copy %RELEASE_ZIP_LOCATION%\binaries_bldmefirst.zip %SUBST_DRIVE%\tmp
   192 rem copy %RELEASE_ZIP_LOCATION%\binaries_bldmefirst.zip %SUBST_DRIVE%\tmp
   211 copy %RELEASE_ZIP_LOCATION%\*_rndonly*.zip %SUBST_DRIVE%\tmp
   193 copy %RELEASE_ZIP_LOCATION%\*_rndonly*.zip %SUBST_DRIVE%\tmp
   212 copy %RELEASE_ZIP_LOCATION%\bin_redist*.zip %SUBST_DRIVE%\tmp
   194 copy %RELEASE_ZIP_LOCATION%\bin_redist*.zip %SUBST_DRIVE%\tmp
   213 IF %SRC_LOCATION% == BOM goto TOOLSZIP
   195 IF %SRC_LOCATION% == BOM goto TOOLSZIP
   214 copy %RELEASE_ZIP_LOCATION%\src_*.zip %SUBST_DRIVE%\tmp
   196 copy %RELEASE_ZIP_LOCATION%\src_*.zip %SUBST_DRIVE%\tmp
   224 7z x *.zip -y
   206 7z x *.zip -y
   225 del *.zip
   207 del *.zip
   226 exit 0</command>
   208 exit 0</command>
   227     </hudson.tasks.BatchFile>
   209     </hudson.tasks.BatchFile>
   228     <hudson.tasks.BatchFile>
   210     <hudson.tasks.BatchFile>
   229       <command>IF NOT %SRC_LOCATION% == BOM exit
   211       <command>%SUBST_DRIVE%
   230 %SUBST_DRIVE%
   212 cd \
       
   213 hg clone http://developer.symbian.org/oss/MCL/sftools/fbf/utilities/
       
   214 IF NOT %SRC_LOCATION% == BOM exit
   231 cd \
   215 cd \
   232 @ECHO OFF
   216 @ECHO OFF
   233 IF NOT &quot;%HG_USERNAME%&quot; == &quot;&quot; GOTO USERNAME_OK
   217 IF NOT &quot;%HG_USERNAME%&quot; == &quot;&quot; GOTO USERNAME_OK
   234 echo &quot;You must enter a UserName and Password when using the BOM option&quot;
   218 echo &quot;You must enter a UserName and Password when using the BOM option&quot;
   235 exit 1
   219 exit 1
   236 :USERNAME_OK
   220 :USERNAME_OK
   237 IF NOT &quot;%HG_PASSWORD%&quot; == &quot;&quot; GOTO HG_OK
   221 IF NOT &quot;%HG_PASSWORD%&quot; == &quot;&quot; GOTO HG_OK
   238 echo &quot;You must enter a UserName and Password when using the BOM option&quot;
   222 echo &quot;You must enter a UserName and Password when using the BOM option&quot;
   239 exit 1
   223 exit 1
   240 :HG_OK
   224 :HG_OK
   241 cd \tmp
   225 cd\
   242 hg clone http://developer.symbian.org/oss/MCL/utilities
   226 perl \utilities\clone_packages\clone_all_packages.pl -packagelist \build_info\logs\BOM\build-info.xml -username %HG_USERNAME% -password %HG_PASSWORD% -retries=7</command>
   243 cd\
       
   244 \tmp\utilities\clone_packages\clone_all_packages.pl -packagelist \build_info\logs\BOM\build-info.xml -username %HG_USERNAME% -password %HG_PASSWORD% -retries=7</command>
       
   245     </hudson.tasks.BatchFile>
   227     </hudson.tasks.BatchFile>
   246     <hudson.tasks.BatchFile>
   228     <hudson.tasks.BatchFile>
   247       <command>%BUILD_DRIVE%
   229       <command>%BUILD_DRIVE%
   248 cd\
   230 cd\
   249 set HG_PASSWORD=
   231 set HG_PASSWORD=
   250 set PROJECT=single
   232 set PROJECT=single
   251 set TOOLS_BASELINE_ENABLE=true
   233 set TOOLS_BASELINE_ENABLE=true
   252 set TOOLS_CONFIG=tools_rel.whatlog,tools2_rel.whatlog
   234 set TOOLS_CONFIG=tools_rel.whatlog,tools2_rel.whatlog
   253 IF %SPLIT_BUILD% == true set PROJECT=split
       
   254 IF %REBUILD_TOOLS% == true set TOOLS_BASELINE_ENABLE=false
   235 IF %REBUILD_TOOLS% == true set TOOLS_BASELINE_ENABLE=false
   255 IF %REBUILD_TOOLS% == false set TOOLS_CONFIG=tools2_rel.whatlog
   236 IF %REBUILD_TOOLS% == false set TOOLS_CONFIG=tools2_rel.whatlog
   256 cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
   237 cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
   257 hlm sf-build-noprep -Dbuild.drive=%SUBST_DRIVE% -Dsf.spec.job.number=%JOB_NAME%.%BUILD_NUMBER% -Dsf.spec.job.codeline=&quot;%SRC_LOCATION%&quot; -Dsf.project.location=%BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\build\config\%PLATFORM%\%PROJECT% -Dsf.spec.splitbuild=%SPLIT_BUILD% -Dsf.spec.sbs.config=&quot;%TARGET%&quot; -Dsf.spec.baseline.enable=%TOOLS_BASELINE_ENABLE% -Dsf.spec.sbs.tools.config=&quot;%TOOLS_CONFIG%&quot; -Dsf.spec.job.rootdir=%BUILD_DRIVE% -Dsf.suppress.buildenv.check=true -Dsf.suppress.drive.space.check=true -Dsf.spec.logs.raptorfilter.enable=false -Dsf.spec.publish.enable=false -Dsf.spec.package.bin.enable=false -Dsf.spec.test.sendpkg.enable=false -Dskip.sbs.layer.generation=true</command>
   238 hlm sf-build-noprep -Dbuild.drive=%SUBST_DRIVE% -Dsf.spec.job.number=%JOB_NAME%.%BUILD_NUMBER% -Dsf.spec.job.codeline=&quot;%SRC_LOCATION%&quot; -Dsf.project.location=%BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\build\config\%PLATFORM%\%PROJECT% -Dsf.spec.splitbuild=false -Dsf.spec.sbs.config=&quot;%TARGET%&quot; -Dsf.spec.baseline.enable=%TOOLS_BASELINE_ENABLE% -Dsf.spec.sbs.tools.config=&quot;%TOOLS_CONFIG%&quot; -Dsf.spec.job.rootdir=%BUILD_DRIVE% -Dsf.suppress.buildenv.check=true -Dsf.suppress.drive.space.check=true -Dsf.spec.logs.raptorfilter.enable=false -Dsf.spec.publish.enable=false -Dsf.spec.package.bin.enable=false -Dsf.spec.test.sendpkg.enable=false -Dskip.sbs.layer.generation=true -Dsf.spec.bldmefirst.s60.variant=%LOCALISATION%</command>
   258     </hudson.tasks.BatchFile>
   239     </hudson.tasks.BatchFile>
   259   </builders>
   240   </builders>
   260   <publishers/>
   241   <publishers/>
   261   <buildWrappers/>
   242   <buildWrappers/>
   262 </project>
   243 </project>