PDK_Helium/config.xml
changeset 18 58a997e8d91d
parent 15 0b38a15ba03b
child 19 1aa526b5b90b
equal deleted inserted replaced
17:20147f9352da 18:58a997e8d91d
     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 be downloaded from the &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;kits page.&lt;/a&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;
     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 &lt;li&gt;Download of required (and recommended) &lt;a href=&quot;&#xd;
       
    13 http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Getting_the_Baseline&quot;/&gt;zips &lt;/a&gt; from the &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;kits page.&lt;/a&gt;&#xd;
       
    14 &#xd;
    12 &#xd;
    15 &lt;h3&gt;Additional Information&lt;/h3&gt;&#xd;
    13 &lt;h3&gt;Additional Information&lt;/h3&gt;&#xd;
    16 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;
    17 &lt;br&gt;&#xd;
    15 &lt;br&gt;&#xd;
    18 &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;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;
    19 &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;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;
    20 &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;https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap&quot;/&gt;https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap&lt;/a&gt;&#xd;
    21 </description>
    19 </description>
    22   <keepDependencies>false</keepDependencies>
    20   <keepDependencies>false</keepDependencies>
    23   <properties>
    21   <properties>
       
    22     <hudson.security.AuthorizationMatrixProperty>
       
    23       <useProjectSecurity>false</useProjectSecurity>
       
    24     </hudson.security.AuthorizationMatrixProperty>
    24     <hudson.model.ParametersDefinitionProperty>
    25     <hudson.model.ParametersDefinitionProperty>
    25       <parameterDefinitions>
    26       <parameterDefinitions>
    26         <hudson.model.StringParameterDefinition>
    27         <hudson.model.StringParameterDefinition>
    27           <name>BUILD_DRIVE</name>
    28           <name>BUILD_DRIVE</name>
    28           <description>Physical Build Drive</description>
    29           <description>Physical Build Drive</description>
    31         <hudson.model.StringParameterDefinition>
    32         <hudson.model.StringParameterDefinition>
    32           <name>SUBST_DRIVE</name>
    33           <name>SUBST_DRIVE</name>
    33           <description>Subst&apos;d EPOC drive</description>
    34           <description>Subst&apos;d EPOC drive</description>
    34           <defaultValue>M:</defaultValue>
    35           <defaultValue>M:</defaultValue>
    35         </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>
       
    45           <name>DOWNLOAD_KIT</name>
       
    46           <description>This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if -
       
    47 &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>
       
    49           <defaultValue>false</defaultValue>
       
    50         </hudson.model.BooleanParameterDefinition>
    36         <hudson.model.StringParameterDefinition>
    51         <hudson.model.StringParameterDefinition>
    37           <name>RELEASE_ZIP_LOCATION</name>
    52           <name>RELEASE_ZIP_LOCATION</name>
    38           <description>Location of &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;release zipfiles&lt;/a&gt; e.g.
    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.
    39 &lt;li&gt;build_BOM.zip
    54 &lt;li&gt;build_BOM.zip
    40 &lt;li&gt;tools_epoc.zip
    55 &lt;li&gt;tools_epoc.zip
    41 
    56 
    42 </description>
    57 </description>
    43           <defaultValue></defaultValue>
    58           <defaultValue></defaultValue>
    44         </hudson.model.StringParameterDefinition>
    59         </hudson.model.StringParameterDefinition>
       
    60         <hudson.model.ChoiceParameterDefinition>
       
    61           <name>SRC_LOCATION</name>
       
    62           <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 
       
    64 &lt;li&gt;ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description>
       
    65           <choices class="java.util.Arrays$ArrayList">
       
    66             <a class="string-array">
       
    67               <string>BOM</string>
       
    68               <string>ZIPFILES</string>
       
    69             </a>
       
    70           </choices>
       
    71         </hudson.model.ChoiceParameterDefinition>
    45         <hudson.model.BooleanParameterDefinition>
    72         <hudson.model.BooleanParameterDefinition>
    46           <name>REBUILD_TOOLS</name>
    73           <name>REBUILD_TOOLS</name>
    47           <description>Tick this if you want to rebuild &quot;TOOLS&quot; target as well
    74           <description>Tick this if you want to rebuild &quot;TOOLS&quot; target as well
    48 &lt;li&gt; Requires comercial VC++ 6.0 installed plus -
    75 &lt;li&gt; Requires comercial VC++ 6.0 installed plus -
    49 &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>
    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>
    66               <string>engineering</string>
    93               <string>engineering</string>
    67               <string>western</string>
    94               <string>western</string>
    68             </a>
    95             </a>
    69           </choices>
    96           </choices>
    70         </hudson.model.ChoiceParameterDefinition>
    97         </hudson.model.ChoiceParameterDefinition>
    71         <hudson.model.ChoiceParameterDefinition>
       
    72           <name>SRC_LOCATION</name>
       
    73           <description>How to get src for building the Platform.
       
    74 &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 
       
    75 &lt;li&gt;ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description>
       
    76           <choices class="java.util.Arrays$ArrayList">
       
    77             <a class="string-array">
       
    78               <string>BOM</string>
       
    79               <string>ZIPFILES</string>
       
    80             </a>
       
    81           </choices>
       
    82         </hudson.model.ChoiceParameterDefinition>
       
    83         <hudson.model.StringParameterDefinition>
    98         <hudson.model.StringParameterDefinition>
    84           <name>HG_USERNAME</name>
    99           <name>HG_USERNAME</name>
    85           <description>Enter your symbian developer web username &lt;i&gt;(required for download of packages from BOM, not needed when using source zip packages)&lt;/i&gt;</description>
   100           <description>Enter your symbian developer web username &lt;i&gt;(required for any downloading of packages from BOM)&lt;/i&gt;</description>
    86           <defaultValue></defaultValue>
   101           <defaultValue></defaultValue>
    87         </hudson.model.StringParameterDefinition>
   102         </hudson.model.StringParameterDefinition>
    88         <hudson.model.PasswordParameterDefinition>
   103         <hudson.model.PasswordParameterDefinition>
    89           <name>HG_PASSWORD</name>
   104           <name>HG_PASSWORD</name>
    90           <description>Enter your Mercurial symbian developer web password  &lt;i&gt;(required for download of packages from BOM, not needed when using source zip packages)&lt;/i&gt;
   105           <description>Enter your symbian developer web password  &lt;i&gt;(required for any downloading of packages from BOM)&lt;/i&gt;
    91 &lt;br&gt;</description>
   106 &lt;br&gt;
       
   107 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>
    92           <defaultValue></defaultValue>
   108           <defaultValue></defaultValue>
    93         </hudson.model.PasswordParameterDefinition>
   109         </hudson.model.PasswordParameterDefinition>
    94         <hudson.model.ChoiceParameterDefinition>
   110         <hudson.model.ChoiceParameterDefinition>
    95           <name>PLATFORM</name>
   111           <name>PLATFORM</name>
    96           <description></description>
   112           <description></description>
   121             <a class="string-array">
   137             <a class="string-array">
   122               <string>default</string>
   138               <string>default</string>
   123               <string>PDK_2.0.2</string>
   139               <string>PDK_2.0.2</string>
   124               <string>PDK_2.0.1</string>
   140               <string>PDK_2.0.1</string>
   125               <string>PDK_2.0.0</string>
   141               <string>PDK_2.0.0</string>
       
   142               <string>PDK_3.0.h</string>
   126               <string>PDK_3.0.g</string>
   143               <string>PDK_3.0.g</string>
   127               <string>PDK_3.0.f</string>
   144               <string>PDK_3.0.f</string>
   128               <string>PDK_3.0.e</string>
   145               <string>PDK_3.0.e</string>
   129               <string>PDK_3.0.d</string>
   146               <string>PDK_3.0.d</string>
   130               <string>PDK_3.0.c</string>
   147               <string>PDK_3.0.c</string>
   133             </a>
   150             </a>
   134           </choices>
   151           </choices>
   135         </hudson.model.ChoiceParameterDefinition>
   152         </hudson.model.ChoiceParameterDefinition>
   136       </parameterDefinitions>
   153       </parameterDefinitions>
   137     </hudson.model.ParametersDefinitionProperty>
   154     </hudson.model.ParametersDefinitionProperty>
       
   155     <hudson.plugins.disk__usage.DiskUsageProperty/>
       
   156     <hudson.plugins.descriptionsetter.JobByDescription/>
   138   </properties>
   157   </properties>
   139   <scm class="hudson.scm.NullSCM"/>
   158   <scm class="hudson.scm.NullSCM"/>
   140   <canRoam>true</canRoam>
   159   <canRoam>true</canRoam>
   141   <disabled>false</disabled>
   160   <disabled>false</disabled>
   142   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   161   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
   143   <triggers class="vector"/>
   162   <triggers class="vector"/>
   144   <concurrentBuild>true</concurrentBuild>
   163   <concurrentBuild>true</concurrentBuild>
   145   <builders>
   164   <builders>
       
   165     <hudson.tasks.BatchFile>
       
   166       <command>@ECHO OFF
       
   167 IF &quot;%DOWNLOAD_KIT%&quot;==&quot;false&quot; EXIT 0
       
   168 IF &quot;%SRC_LOCATION%&quot;==&quot;BOM&quot; SET DO_SRC_DOWNLOAD=--nosrc
       
   169 IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE
       
   170 hg pull --update -R C:\Symbian\utilities
       
   171 GOTO DOWNLOADKIT
       
   172 :CLONE
       
   173 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
       
   174 :DOWNLOADKIT
       
   175 mkdir %RELEASE_ZIP_LOCATION%
       
   176 cd /d %RELEASE_ZIP_LOCATION%
       
   177 @ECHO ON
       
   178 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>
       
   180     </hudson.tasks.BatchFile>
   146     <hudson.tasks.BatchFile>
   181     <hudson.tasks.BatchFile>
   147       <command>%BUILD_DRIVE%
   182       <command>%BUILD_DRIVE%
   148 cd\
   183 cd\
   149 rmdir /q/s sf-bootstrap
   184 rmdir /q/s sf-bootstrap
   150 mkdir sf-bootstrap
   185 mkdir sf-bootstrap