PDK_Helium/config.xml
changeset 21 3291c6ed4a3b
parent 19 1aa526b5b90b
equal deleted inserted replaced
20:c4be77d8d002 21:3291c6ed4a3b
     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^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 using the &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework&quot;/&gt; Foundation Build Framework (FBF)&lt;/a&gt;&#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/Foundation_Build_Framework/How_to_build_the_Platform&quot;/&gt;manual build process &lt;/a&gt;for Helium and is a simple way to start building using the &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework&quot;/&gt; Foundation Build Framework (FBF)&lt;/a&gt;&#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/Foundation_Build_Framework/How_to_build_the_Platform#Step_1:_Setup_your_Environment&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 &lt;li&gt;Foundation Build Framework &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework/Frequently_Asked_Questions&quot;/&gt;FAQ&lt;/a&gt;&#xd;
       
    15 &lt;li&gt;Foundation Build Framework &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework/Troubleshooting&quot;/&gt;Troubleshooting guide&lt;/a&gt;&#xd;
       
    16 &lt;br&gt;&lt;br&gt;&#xd;
    14 Source for the FBF can be downloaded from the following Mercurial Repositories -&#xd;
    17 Source for the FBF can be downloaded from the following Mercurial Repositories -&#xd;
    15 &lt;br&gt;&#xd;
    18 &lt;br&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;
    19 &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;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;
    20 &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;http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap&quot;/&gt;http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap&lt;/a&gt;&#xd;
    21 &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>
    22 </description>
    20   <keepDependencies>false</keepDependencies>
    23   <keepDependencies>false</keepDependencies>
    21   <properties>
    24   <properties>
       
    25     <hudson.security.AuthorizationMatrixProperty>
       
    26       <useProjectSecurity>false</useProjectSecurity>
       
    27     </hudson.security.AuthorizationMatrixProperty>
    22     <hudson.model.ParametersDefinitionProperty>
    28     <hudson.model.ParametersDefinitionProperty>
    23       <parameterDefinitions>
    29       <parameterDefinitions>
    24         <hudson.model.StringParameterDefinition>
    30         <hudson.model.StringParameterDefinition>
    25           <name>BUILD_DRIVE</name>
    31           <name>BUILD_DRIVE</name>
    26           <description>Physical Build Drive to perform the build on. Please ensure that there is -
    32           <description>Physical Build Drive to perform the build on. Please ensure that there is -
    43           <defaultValue>false</defaultValue>
    49           <defaultValue>false</defaultValue>
    44         </hudson.model.BooleanParameterDefinition>
    50         </hudson.model.BooleanParameterDefinition>
    45         <hudson.model.StringParameterDefinition>
    51         <hudson.model.StringParameterDefinition>
    46           <name>KIT_VERSION</name>
    52           <name>KIT_VERSION</name>
    47           <description>Version of the BOM to download. e.g.
    53           <description>Version of the BOM to download. e.g.
    48 &lt;li&gt;2.0.2
    54 &lt;li&gt;3.0.0
    49 &lt;li&gt;3.0.h
       
    50 &lt;br&gt;
    55 &lt;br&gt;
    51 &lt;b&gt;Mandatory&lt;/b&gt; if downloading the BOM from the web.</description>
    56 &lt;b&gt;Mandatory&lt;/b&gt; if downloading the BOM from the web.</description>
    52           <defaultValue></defaultValue>
    57           <defaultValue></defaultValue>
    53         </hudson.model.StringParameterDefinition>
    58         </hudson.model.StringParameterDefinition>
       
    59         <hudson.model.StringParameterDefinition>
       
    60           <name>HG_USERNAME</name>
       
    61           <description>Enter your symbian developer web username &lt;i&gt;(required for any downloading of packages from BOM)&lt;/i&gt;</description>
       
    62           <defaultValue></defaultValue>
       
    63         </hudson.model.StringParameterDefinition>
       
    64         <hudson.model.PasswordParameterDefinition>
       
    65           <name>HG_PASSWORD</name>
       
    66           <description>Enter your symbian developer web password  &lt;i&gt;(required for downloading of prebuilt binaries, tools and BOM)&lt;/i&gt;</description>
       
    67           <defaultValue></defaultValue>
       
    68         </hudson.model.PasswordParameterDefinition>
    54         <hudson.model.StringParameterDefinition>
    69         <hudson.model.StringParameterDefinition>
    55           <name>RELEASE_ZIP_LOCATION</name>
    70           <name>RELEASE_ZIP_LOCATION</name>
    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.
    71           <description>Location of &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;release zipfiles&lt;/a&gt; e.g.
    57 &lt;li&gt;build_BOM.zip
    72 &lt;li&gt;build_BOM.zip
    58 &lt;li&gt;tools_epoc.zip
    73 &lt;li&gt;tools_epoc.zip
    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.
    76 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.
    62 </description>
    77 </description>
    63           <defaultValue></defaultValue>
    78           <defaultValue></defaultValue>
    64         </hudson.model.StringParameterDefinition>
    79         </hudson.model.StringParameterDefinition>
    65         <hudson.model.ChoiceParameterDefinition>
    80         <hudson.model.ChoiceParameterDefinition>
    66           <name>SRC_LOCATION</name>
    81           <name>SUB_PROJECT</name>
    67           <description>How to get source for building the Platform -
    82           <description></description>
    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 
       
    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>
       
    70           <choices class="java.util.Arrays$ArrayList">
    83           <choices class="java.util.Arrays$ArrayList">
    71             <a class="string-array">
    84             <a class="string-array">
    72               <string>BOM</string>
    85               <string>symbian3/single</string>
    73               <string>ZIPFILES</string>
       
    74             </a>
    86             </a>
    75           </choices>
    87           </choices>
    76         </hudson.model.ChoiceParameterDefinition>
    88         </hudson.model.ChoiceParameterDefinition>
    77         <hudson.model.BooleanParameterDefinition>
       
    78           <name>REBUILD_TOOLS</name>
       
    79           <description>Tick this if you want to rebuild &quot;TOOLS&quot;
       
    80 &lt;li&gt; Requires comercial VC++ 6.0 installed</description>
       
    81           <defaultValue>false</defaultValue>
       
    82         </hudson.model.BooleanParameterDefinition>
       
    83         <hudson.model.ChoiceParameterDefinition>
    89         <hudson.model.ChoiceParameterDefinition>
    84           <name>LOCALISATION</name>
    90           <name>LOCALISATION</name>
    85           <description>Select whether to build more than one set of localised resources
    91           <description>Select whether to build more than one set of localised resources
    86 &lt;li&gt;engineering - just r01, results in quicker build
    92 &lt;li&gt;engineering - just r01, results in quicker build
    87 &lt;li&gt;western - all defined language ids, build takes longer, but localised resources are created</description>
    93 &lt;li&gt;western - all defined language ids, build takes longer, but localised resources are created</description>
    90               <string>engineering</string>
    96               <string>engineering</string>
    91               <string>western</string>
    97               <string>western</string>
    92             </a>
    98             </a>
    93           </choices>
    99           </choices>
    94         </hudson.model.ChoiceParameterDefinition>
   100         </hudson.model.ChoiceParameterDefinition>
    95         <hudson.model.StringParameterDefinition>
   101         <hudson.model.BooleanParameterDefinition>
    96           <name>HG_USERNAME</name>
   102           <name>USE_PREBUILT_TOOLS</name>
    97           <description>Enter your symbian developer web username &lt;i&gt;(required for any downloading of packages from BOM)&lt;/i&gt;</description>
   103           <description>Select this if you want to use the prebuilt tools. Only unselect this if you want to rebuild tools -
    98           <defaultValue></defaultValue>
   104 &lt;li&gt; Note: Rebuild requires comercial VC++ 6.0 to be installed</description>
    99         </hudson.model.StringParameterDefinition>
   105           <defaultValue>true</defaultValue>
   100         <hudson.model.PasswordParameterDefinition>
   106         </hudson.model.BooleanParameterDefinition>
   101           <name>HG_PASSWORD</name>
       
   102           <description>Enter your symbian developer web password  &lt;i&gt;(required for any downloading of packages from BOM)&lt;/i&gt;
       
   103 &lt;br&gt;
       
   104 Note: Please be aware that your password will be displayed in &lt;b&gt;cleartext&lt;/b&gt; in the top of the console log</description>
       
   105           <defaultValue></defaultValue>
       
   106         </hudson.model.PasswordParameterDefinition>
       
   107         <hudson.model.ChoiceParameterDefinition>
       
   108           <name>PLATFORM</name>
       
   109           <description></description>
       
   110           <choices class="java.util.Arrays$ArrayList">
       
   111             <a class="string-array">
       
   112               <string>symbian3</string>
       
   113               <string>symbian2</string>
       
   114             </a>
       
   115           </choices>
       
   116         </hudson.model.ChoiceParameterDefinition>
       
   117         <hudson.model.StringParameterDefinition>
   107         <hudson.model.StringParameterDefinition>
   118           <name>TARGET</name>
   108           <name>TARGET</name>
   119           <description>Comma separated list of target(s) to build. Building armv5 targets requires RVCT arm compiler installed.
   109           <description>Comma separated list of target(s) to build. Building armv5 targets requires RVCT arm compiler installed.
   120 &lt;br&gt;&lt;br&gt;
   110 &lt;br&gt;&lt;br&gt;
   121 &lt;li&gt;winscw_udeb.whatlog
   111 &lt;li&gt;winscw_udeb.whatlog
   124           <defaultValue>winscw_udeb.whatlog</defaultValue>
   114           <defaultValue>winscw_udeb.whatlog</defaultValue>
   125         </hudson.model.StringParameterDefinition>
   115         </hudson.model.StringParameterDefinition>
   126         <hudson.model.StringParameterDefinition>
   116         <hudson.model.StringParameterDefinition>
   127           <name>FBF_REV</name>
   117           <name>FBF_REV</name>
   128           <description>The tagged version of the FBF (Helium) to use to build the Platform.
   118           <description>The tagged version of the FBF (Helium) to use to build the Platform.
   129 &lt;li&gt;default - is the latest revision from the web
   119 &lt;li&gt;default - for the latest development revision from the web (may be unstable)
   130 &lt;li&gt;PDK_3.0.h - for 3.0.h revision etc.
   120 &lt;li&gt;PDK_3.0.0 - for 3.0.0 revision
       
   121 &lt;li&gt;S3_LATESTGOOD - for the latest Symbian^3 stable revision
   131 &lt;br&gt;&lt;br&gt;
   122 &lt;br&gt;&lt;br&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>
   123 &lt;i&gt;Unless you want a specific revision, its recommended to use the &apos;S3_LATESTGOOD&apos; revision of the FBF, as this will be a stable version&lt;/i&gt;</description>
   133           <defaultValue>default</defaultValue>
   124           <defaultValue>S3_LATESTGOOD</defaultValue>
   134         </hudson.model.StringParameterDefinition>
   125         </hudson.model.StringParameterDefinition>
   135       </parameterDefinitions>
   126       </parameterDefinitions>
   136     </hudson.model.ParametersDefinitionProperty>
   127     </hudson.model.ParametersDefinitionProperty>
       
   128     <hudson.plugins.disk__usage.DiskUsageProperty/>
       
   129     <hudson.plugins.descriptionsetter.JobByDescription/>
   137   </properties>
   130   </properties>
   138   <scm class="hudson.scm.NullSCM"/>
   131   <scm class="hudson.scm.NullSCM"/>
   139   <canRoam>true</canRoam>
   132   <canRoam>true</canRoam>
   140   <disabled>false</disabled>
   133   <disabled>false</disabled>
   141   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   134   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   143   <concurrentBuild>true</concurrentBuild>
   136   <concurrentBuild>true</concurrentBuild>
   144   <builders>
   137   <builders>
   145     <hudson.tasks.BatchFile>
   138     <hudson.tasks.BatchFile>
   146       <command>@ECHO OFF
   139       <command>@ECHO OFF
   147 IF &quot;%DOWNLOAD_KIT%&quot;==&quot;false&quot; EXIT 0
   140 IF &quot;%DOWNLOAD_KIT%&quot;==&quot;false&quot; EXIT 0
   148 IF &quot;%SRC_LOCATION%&quot;==&quot;BOM&quot; SET DO_SRC_DOWNLOAD=--nosrc
       
   149 IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE
   141 IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE
   150 hg pull --update -R C:\Symbian\utilities
   142 hg pull --update -R C:\Symbian\utilities
   151 GOTO DOWNLOADKIT
   143 GOTO DOWNLOADKIT
   152 :CLONE
   144 :CLONE
   153 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
   145 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
   154 :DOWNLOADKIT
   146 :DOWNLOADKIT
   155 mkdir %RELEASE_ZIP_LOCATION%
   147 mkdir %RELEASE_ZIP_LOCATION%
   156 cd /d %RELEASE_ZIP_LOCATION%
   148 cd /d %RELEASE_ZIP_LOCATION%
       
   149 C:\Symbian\utilities\downloadkit\downloadkit.py --nounzip --nowinscw --noarmv5 --progress --nosrc %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD% &gt; %TMP%\downloadkit.out.%BUILD_NUMBER%
   157 @ECHO ON
   150 @ECHO ON
   158 C:\Symbian\utilities\downloadkit\downloadkit.py --nounzip --nowinscw --noarmv5 --progress %DO_SRC_DOWNLOAD% %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD% 
   151 type %TMP%\downloadkit.out.%BUILD_NUMBER%
       
   152 @ECHO OFF
       
   153 del %TMP%\downloadkit.out.%BUILD_NUMBER%
   159 exit 0</command>
   154 exit 0</command>
   160     </hudson.tasks.BatchFile>
   155     </hudson.tasks.BatchFile>
   161     <hudson.tasks.BatchFile>
   156     <hudson.tasks.BatchFile>
   162       <command>%BUILD_DRIVE%
   157       <command>%BUILD_DRIVE%
   163 cd\
   158 cd\
   169 rd %TMP%\sf-bootstrap.%BUILD_NUMBER% /q/s</command>
   164 rd %TMP%\sf-bootstrap.%BUILD_NUMBER% /q/s</command>
   170     </hudson.tasks.BatchFile>
   165     </hudson.tasks.BatchFile>
   171     <hudson.tasks.BatchFile>
   166     <hudson.tasks.BatchFile>
   172       <command>%BUILD_DRIVE%
   167       <command>%BUILD_DRIVE%
   173 cd\
   168 cd\
   174 set HG_PASSWORD=
       
   175 set PROJECT=single
       
   176 set TOOLS_BASELINE_ENABLE=true
       
   177 set TOOLS_CONFIG=tools_rel.whatlog,tools2_rel.whatlog
       
   178 IF %REBUILD_TOOLS% == true set TOOLS_BASELINE_ENABLE=false
       
   179 IF %REBUILD_TOOLS% == false set TOOLS_CONFIG=tools2_rel.whatlog
       
   180 cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
   169 cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
   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>
   170 hlm sf-build -Dsf.spec.job.drive=%SUBST_DRIVE% -Dsf.spec.job.number=%JOB_NAME%.%BUILD_NUMBER% -Dsf.subproject.path=%SUB_PROJECT% -Dsf.spec.toolsbaseline.enable=%USE_PREBUILT_TOOLS% -Dsf.spec.sbs.config=&quot;%TARGET%&quot; -Dsf.spec.sbs.tools.config=&quot;tools.whatlog,tools2.whatlog&quot;  -Dsf.spec.job.rootdir=%BUILD_DRIVE% -Dsf.suppress.buildenv.check=true -Dsf.suppress.drive.space.check=true -Dsf.spec.bldmefirst.s60.variant=%LOCALISATION% -Dsf.spec.baseline.location=&quot;%RELEASE_ZIP_LOCATION%&quot;</command>
   182     </hudson.tasks.BatchFile>
       
   183     <hudson.tasks.BatchFile>
       
   184       <command>%SUBST_DRIVE%
       
   185 cd\
       
   186 mkdir tmp
       
   187 copy %RELEASE_ZIP_LOCATION%\build_BOM.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 
       
   192 rem copy %RELEASE_ZIP_LOCATION%\binaries_bldmefirst.zip %SUBST_DRIVE%\tmp
       
   193 copy %RELEASE_ZIP_LOCATION%\*_rndonly*.zip %SUBST_DRIVE%\tmp
       
   194 copy %RELEASE_ZIP_LOCATION%\bin_redist*.zip %SUBST_DRIVE%\tmp
       
   195 IF %SRC_LOCATION% == BOM goto TOOLSZIP
       
   196 copy %RELEASE_ZIP_LOCATION%\src_*.zip %SUBST_DRIVE%\tmp
       
   197 :TOOLSZIP
       
   198 IF %REBUILD_TOOLS% == true goto UNZIP
       
   199 copy %RELEASE_ZIP_LOCATION%\binaries_epoc32_stlport.zip %SUBST_DRIVE%\tmp
       
   200 copy %RELEASE_ZIP_LOCATION%\tools_*.zip %SUBST_DRIVE%\tmp
       
   201 :UNZIP
       
   202 %SUBST_DRIVE%
       
   203 cd %SUBST_DRIVE%\tmp
       
   204 7z x *.zip -o.. -y
       
   205 cd..
       
   206 7z x *.zip -y
       
   207 del *.zip
       
   208 exit 0</command>
       
   209     </hudson.tasks.BatchFile>
       
   210     <hudson.tasks.BatchFile>
       
   211       <command>%SUBST_DRIVE%
       
   212 cd \
       
   213 hg clone http://developer.symbian.org/oss/MCL/sftools/fbf/utilities/
       
   214 IF NOT %SRC_LOCATION% == BOM exit
       
   215 cd \
       
   216 @ECHO OFF
       
   217 IF NOT &quot;%HG_USERNAME%&quot; == &quot;&quot; GOTO USERNAME_OK
       
   218 echo &quot;You must enter a UserName and Password when using the BOM option&quot;
       
   219 exit 1
       
   220 :USERNAME_OK
       
   221 IF NOT &quot;%HG_PASSWORD%&quot; == &quot;&quot; GOTO HG_OK
       
   222 echo &quot;You must enter a UserName and Password when using the BOM option&quot;
       
   223 exit 1
       
   224 :HG_OK
       
   225 cd\
       
   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>
       
   227     </hudson.tasks.BatchFile>
       
   228     <hudson.tasks.BatchFile>
       
   229       <command>%BUILD_DRIVE%
       
   230 cd\
       
   231 set HG_PASSWORD=
       
   232 set PROJECT=single
       
   233 set TOOLS_BASELINE_ENABLE=true
       
   234 set TOOLS_CONFIG=tools_rel.whatlog,tools2_rel.whatlog
       
   235 IF %REBUILD_TOOLS% == true set TOOLS_BASELINE_ENABLE=false
       
   236 IF %REBUILD_TOOLS% == false set TOOLS_CONFIG=tools2_rel.whatlog
       
   237 cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
       
   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>
       
   239     </hudson.tasks.BatchFile>
   171     </hudson.tasks.BatchFile>
   240   </builders>
   172   </builders>
   241   <publishers/>
   173   <publishers/>
   242   <buildWrappers/>
   174   <buildWrappers/>
   243 </project>
   175 </project>