PDK_Raptor/config.xml
author Shabe Razvi <shaber@symbian.org>
Tue, 16 Mar 2010 16:34:49 +0000
changeset 17 20147f9352da
parent 13 0760f87d90d6
permissions -rw-r--r--
Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     1
<?xml version='1.0' encoding='UTF-8'?>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     2
<project>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     3
  <actions/>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     4
  <description>&lt;h3&gt;Description&lt;/h3&gt;&#xd;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     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;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     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_Raptor&quot;/&gt;manual build process &lt;/a&gt;for Raptor and is a simple way to start building using SBSv2.&#xd;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     7
&#xd;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     8
&lt;h3&gt;Prerequisites&lt;/h3&gt;&#xd;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     9
&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_Raptor#Installing_Build_Tools&quot;/&gt;build tools&lt;/a&gt;&#xd;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    10
&lt;li&gt;Download of required (and recommended) &lt;a href=&quot;&#xd;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    11
http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_Raptor#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;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    12
</description>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    13
  <keepDependencies>false</keepDependencies>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    14
  <properties>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    15
    <hudson.security.AuthorizationMatrixProperty>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    16
      <useProjectSecurity>false</useProjectSecurity>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    17
    </hudson.security.AuthorizationMatrixProperty>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    18
    <hudson.model.ParametersDefinitionProperty>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    19
      <parameterDefinitions>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    20
        <hudson.model.StringParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    21
          <name>BUILD_DRIVE</name>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    22
          <description>Physical Build Drive</description>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    23
          <defaultValue>C:</defaultValue>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    24
        </hudson.model.StringParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    25
        <hudson.model.StringParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    26
          <name>SUBST_DRIVE</name>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    27
          <description>Subst&apos;d EPOC drive</description>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    28
          <defaultValue>M:</defaultValue>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    29
        </hudson.model.StringParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    30
        <hudson.model.StringParameterDefinition>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    31
          <name>KIT_VERSION</name>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    32
          <description>Version of the Bill of Materials (BOM), tools and prebuilt binaries to download/build e.g.
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    33
&lt;li&gt;2.0.2
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    34
&lt;li&gt;3.0.h</description>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    35
          <defaultValue></defaultValue>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    36
        </hudson.model.StringParameterDefinition>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    37
        <hudson.model.BooleanParameterDefinition>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    38
          <name>DOWNLOAD_KIT</name>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    39
          <description>This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if -
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    40
&lt;li&gt;You havnt downloaded these archives already
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    41
&lt;li&gt;You&apos;re not sure if you have the correct archives</description>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    42
          <defaultValue>false</defaultValue>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    43
        </hudson.model.BooleanParameterDefinition>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    44
        <hudson.model.StringParameterDefinition>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    45
          <name>RELEASE_ZIP_LOCATION</name>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    46
          <description>Location of &lt;a href=&quot;http://developer.symbian.org/main/tools_and_kits/&quot;&gt;release zipfiles&lt;/a&gt;.
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    47
&lt;li&gt;If you&apos;re downloading the kit (above), then archives will be stored in this location - and can be reused later
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    48
&lt;li&gt;If you have the kit downloaded already, then this is its location on disk
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    49
</description>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    50
          <defaultValue></defaultValue>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    51
        </hudson.model.StringParameterDefinition>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    52
        <hudson.model.ChoiceParameterDefinition>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    53
          <name>SRC_LOCATION</name>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    54
          <description>How to get source for building the Platform -
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    55
&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 
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    56
&lt;li&gt;ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    57
          <choices class="java.util.Arrays$ArrayList">
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    58
            <a class="string-array">
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    59
              <string>BOM</string>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    60
              <string>ZIPFILES</string>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    61
            </a>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    62
          </choices>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
    63
        </hudson.model.ChoiceParameterDefinition>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    64
        <hudson.model.BooleanParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    65
          <name>REBUILD_TOOLS</name>
2
8f13da8c395b Use %NUMBER_OF_PROCESSORS% for limiting how much of PDK_Raptor is run parallel. Also remove target value to ensure all exports happen.
Shabe Razvi <shaber@symbian.org>
parents: 1
diff changeset
    66
          <description>Tick this if you want to rebuild &quot;TOOLS&quot; target as well
8f13da8c395b Use %NUMBER_OF_PROCESSORS% for limiting how much of PDK_Raptor is run parallel. Also remove target value to ensure all exports happen.
Shabe Razvi <shaber@symbian.org>
parents: 1
diff changeset
    67
&lt;li&gt; Requires comercial VC++ 6.0 installed plus -
8f13da8c395b Use %NUMBER_OF_PROCESSORS% for limiting how much of PDK_Raptor is run parallel. Also remove target value to ensure all exports happen.
Shabe Razvi <shaber@symbian.org>
parents: 1
diff changeset
    68
&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>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    69
          <defaultValue>false</defaultValue>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    70
        </hudson.model.BooleanParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    71
        <hudson.model.BooleanParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    72
          <name>SPLIT_BUILD</name>
2
8f13da8c395b Use %NUMBER_OF_PROCESSORS% for limiting how much of PDK_Raptor is run parallel. Also remove target value to ensure all exports happen.
Shabe Razvi <shaber@symbian.org>
parents: 1
diff changeset
    73
          <description>Is the baseline run in two distinct steps (GT+S60). Tick this if -
8f13da8c395b Use %NUMBER_OF_PROCESSORS% for limiting how much of PDK_Raptor is run parallel. Also remove target value to ensure all exports happen.
Shabe Razvi <shaber@symbian.org>
parents: 1
diff changeset
    74
&lt;li&gt; Building older Symbian^2 PDKs. e.g. 2.0.d or earlier.
13
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    75
&lt;li&gt; Building older Symbian^3 PDKs. e.g. 3.0.f or earlier.</description>
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    76
          <defaultValue>false</defaultValue>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    77
        </hudson.model.BooleanParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    78
        <hudson.model.ChoiceParameterDefinition>
13
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    79
          <name>LOCALISATION</name>
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    80
          <description>Select whether to build more than one set of localised resources
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    81
&lt;li&gt;engineering - just r01, results in quicker build
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    82
&lt;li&gt;western - all defined language ids, build takes longer, but localised resources are created</description>
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    83
          <choices class="java.util.Arrays$ArrayList">
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    84
            <a class="string-array">
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    85
              <string>engineering</string>
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    86
              <string>western</string>
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    87
            </a>
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    88
          </choices>
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
    89
        </hudson.model.ChoiceParameterDefinition>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    90
        <hudson.model.BooleanParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    91
          <name>LEGACY_BLDMEFIRST</name>
2
8f13da8c395b Use %NUMBER_OF_PROCESSORS% for limiting how much of PDK_Raptor is run parallel. Also remove target value to ensure all exports happen.
Shabe Razvi <shaber@symbian.org>
parents: 1
diff changeset
    92
          <description>Tick this if building older Symbian^2 PDKs. e.g. 2.0.d or earlier.</description>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    93
          <defaultValue>false</defaultValue>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    94
        </hudson.model.BooleanParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    95
        <hudson.model.StringParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    96
          <name>HG_USERNAME</name>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    97
          <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>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    98
          <defaultValue></defaultValue>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    99
        </hudson.model.StringParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   100
        <hudson.model.PasswordParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   101
          <name>HG_PASSWORD</name>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   102
          <description>Enter your symbian developer web password  &lt;i&gt;(required for any downloading of packages from BOM)&lt;/i&gt;
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   103
&lt;br&gt;
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   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>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   105
          <defaultValue></defaultValue>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   106
        </hudson.model.PasswordParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   107
        <hudson.model.ChoiceParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   108
          <name>PLATFORM</name>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   109
          <description></description>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   110
          <choices class="java.util.Arrays$ArrayList">
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   111
            <a class="string-array">
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   112
              <string>symbian3</string>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   113
              <string>symbian2</string>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   114
            </a>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   115
          </choices>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   116
        </hudson.model.ChoiceParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   117
        <hudson.model.ChoiceParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   118
          <name>TARGET</name>
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   119
          <description>What target to build. Building armv5 targets requires RVCT arm compiler installed. If you need a different target, then select &lt;i&gt;configure&lt;/i&gt; on the left, and add it to the choice option.</description>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   120
          <choices class="java.util.Arrays$ArrayList">
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   121
            <a class="string-array">
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   122
              <string>-c winscw_udeb</string>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   123
              <string>-c winscw</string>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   124
              <string>-c armv5_urel</string>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   125
              <string>-c armv5 -c winscw</string>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   126
            </a>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   127
          </choices>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   128
        </hudson.model.ChoiceParameterDefinition>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   129
      </parameterDefinitions>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   130
    </hudson.model.ParametersDefinitionProperty>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   131
    <hudson.plugins.disk__usage.DiskUsageProperty/>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   132
    <hudson.plugins.descriptionsetter.JobByDescription/>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   133
  </properties>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   134
  <scm class="hudson.scm.NullSCM"/>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   135
  <canRoam>true</canRoam>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   136
  <disabled>false</disabled>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   137
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   138
  <triggers class="vector"/>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   139
  <concurrentBuild>true</concurrentBuild>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   140
  <builders>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   141
    <hudson.tasks.BatchFile>
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   142
      <command>@ECHO OFF
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   143
IF &quot;%DOWNLOAD_KIT%&quot;==&quot;false&quot; EXIT 0
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   144
IF &quot;%SRC_LOCATION%&quot;==&quot;BOM&quot; SET DO_SRC_DOWNLOAD=--nosrc
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   145
IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   146
hg pull --update -R C:\Symbian\utilities
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   147
GOTO DOWNLOADKIT
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   148
:CLONE
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   149
hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   150
:DOWNLOADKIT
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   151
mkdir %RELEASE_ZIP_LOCATION%
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   152
cd /d %RELEASE_ZIP_LOCATION%
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   153
@ECHO ON
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   154
C:\Symbian\utilities\downloadkit\downloadkit.py --nowinscw --noarmv5 --nounzip --progress %DO_SRC_DOWNLOAD% %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD%
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   155
exit 0</command>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   156
    </hudson.tasks.BatchFile>
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   157
    <hudson.tasks.BatchFile>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   158
      <command>%BUILD_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   159
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   160
mkdir build_%JOB_NAME%.%BUILD_NUMBER%\tmp
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   161
cd build_%JOB_NAME%.%BUILD_NUMBER%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   162
subst /d %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   163
subst %SUBST_DRIVE% .
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   164
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   165
%SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   166
cd %SUBST_DRIVE%\tmp
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   167
hg clone http://developer.symbian.org/oss/MCL/utilities</command>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   168
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   169
    <hudson.tasks.BatchFile>
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   170
      <command>@echo off
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   171
%SUBST_DRIVE%
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   172
cd \
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   173
echo copying zips from %RELEASE_ZIP_LOCATION% - available zips:
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   174
dir /b %RELEASE_ZIP_LOCATION%\*.zip
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   175
xcopy %RELEASE_ZIP_LOCATION%\build_BOM.zip %SUBST_DRIVE%\tmp /q
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   176
xcopy %RELEASE_ZIP_LOCATION%\bin_rndonly*.zip %SUBST_DRIVE%\tmp /q
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   177
xcopy %RELEASE_ZIP_LOCATION%\bin_redist*.zip %SUBST_DRIVE%\tmp /q
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   178
xcopy %RELEASE_ZIP_LOCATION%\binaries_epoc_additional.zip %SUBST_DRIVE%\tmp /q
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   179
xcopy %RELEASE_ZIP_LOCATION%\binaries_bldmefirst.zip %SUBST_DRIVE%\tmp /q
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   180
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   181
IF %SRC_LOCATION% == BOM goto TOOLSZIP
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   182
xcopy %RELEASE_ZIP_LOCATION%\src_*.zip %SUBST_DRIVE%\tmp /q
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   183
:TOOLSZIP
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   184
IF %REBUILD_TOOLS% == true GOTO ZIP_COPY_DONE
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   185
xcopy %RELEASE_ZIP_LOCATION%\binaries_epoc32_stlport.zip %SUBST_DRIVE%\tmp /q
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   186
xcopy %RELEASE_ZIP_LOCATION%\tools_*.zip %SUBST_DRIVE%\tmp /q
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   187
:ZIP_COPY_DONE
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   188
echo %SUBST_DRIVE%\tmp\
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   189
dir /b %SUBST_DRIVE%\tmp\*.zip
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   190
exit 0</command>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   191
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   192
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   193
      <command>%SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   194
cd %SUBST_DRIVE%\tmp
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   195
7z x *.zip -o.. -y
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   196
cd..
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   197
dir /b *.zip
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   198
7z x *.zip -y
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   199
del *.zip
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   200
exit 0</command>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   201
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   202
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   203
      <command>IF NOT %SRC_LOCATION% == BOM exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   204
%SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   205
cd \
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   206
@ECHO OFF
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   207
IF NOT &quot;%HG_USERNAME%&quot; == &quot;&quot; GOTO USERNAME_OK
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   208
echo &quot;You must enter a UserName and Password when using the BOM option&quot;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   209
exit 1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   210
:USERNAME_OK
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   211
IF NOT &quot;%HG_PASSWORD%&quot; == &quot;&quot; GOTO HG_OK
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   212
echo &quot;You must enter a UserName and Password when using the BOM option&quot;
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   213
exit 1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   214
:HG_OK
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   215
perl \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>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   216
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   217
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   218
      <command>IF %LEGACY_BLDMEFIRST% == true exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   219
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   220
%SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   221
cd \ 
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   222
mkdir %SUBST_DRIVE%\epoc32\include\variant\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   223
mkdir %SUBST_DRIVE%\epoc32\tools\variant\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   224
set VARIANT=tb91sf
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   225
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   226
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   227
IF NOT %PLATFORM% == symbian2 copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\inc\Symbian_OS_%VARIANT%.hrh %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\Symbian_OS.hrh
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   228
copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\*.hrh %SUBST_DRIVE%\epoc32\include\variant\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   229
copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\Symbian_OS_v%VARIANT%.cfg %SUBST_DRIVE%\epoc32\tools\variant\variant.cfg
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   230
cd %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\inc\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   231
copy variant.cfg +,,
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   232
exit 0</command>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   233
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   234
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   235
      <command>IF %LEGACY_BLDMEFIRST% == true exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   236
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   237
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   238
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   239
cd\
13
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   240
cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\%LOCALISATION%\group\bld.inf 
9
eb11a5189bd4 Fixes bug: 1585 (HUDSON PDK_Raptor config.xml fails for winscw only)
Hamish Willee <hamishwillee@gmail.com>
parents: 5
diff changeset
   241
cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\group\bld.inf 
eb11a5189bd4 Fixes bug: 1585 (HUDSON PDK_Raptor config.xml fails for winscw only)
Hamish Willee <hamishwillee@gmail.com>
parents: 5
diff changeset
   242
cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\platform_path_definitions_api\group\bld.inf
eb11a5189bd4 Fixes bug: 1585 (HUDSON PDK_Raptor config.xml fails for winscw only)
Hamish Willee <hamishwillee@gmail.com>
parents: 5
diff changeset
   243
cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\common_platform_security_definitions_api\group\bld.inf
eb11a5189bd4 Fixes bug: 1585 (HUDSON PDK_Raptor config.xml fails for winscw only)
Hamish Willee <hamishwillee@gmail.com>
parents: 5
diff changeset
   244
cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\commonservices\commonengine\group\bld.inf
eb11a5189bd4 Fixes bug: 1585 (HUDSON PDK_Raptor config.xml fails for winscw only)
Hamish Willee <hamishwillee@gmail.com>
parents: 5
diff changeset
   245
cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\mw\web\web_plat\browser_platform_api\group\bld.inf
17
20147f9352da Add downloadkit functionality to PDK_Raptor, to allow download of required zips from the job itself.
Shabe Razvi <shaber@symbian.org>
parents: 13
diff changeset
   246
cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\app\homescreentools\dtdinstaller\group\bld.inf</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   247
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   248
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   249
      <command>IF %LEGACY_BLDMEFIRST% == true exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   250
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   251
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   252
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   253
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   254
xcopy /s %SUBST_DRIVE%\sf\tools\makefile_templates\*.* %SUBST_DRIVE%\epoc32\tools\makefile_templates\s60\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   255
exit 0</command>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   256
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   257
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   258
      <command>if %REBUILD_TOOLS% == true exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   259
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   260
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   261
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   262
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   263
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   264
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   265
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools_rel.whatlog -c tools2_rel.whatlog %TARGET% EXPORT -k -f exports.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   266
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   267
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   268
      <command>if %REBUILD_TOOLS% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   269
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   270
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   271
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   272
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   273
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   274
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   275
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml  -c tools2_rel.whatlog.v%VARIANT% -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools2_gt.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   276
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   277
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   278
      <command>if %REBUILD_TOOLS% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   279
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   280
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   281
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   282
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   283
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   284
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   285
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml  -c tools_rel.whatlog.v%VARIANT% -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools_gt.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   286
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   287
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   288
      <command>cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   289
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   290
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   291
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   292
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   293
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   294
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml  %TARGET% -j %NUMBER_OF_PROCESSORS% -t 5 -k -f build.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   295
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   296
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   297
      <command>IF %SPLIT_BUILD% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   298
IF %REBUILD_TOOLS% == true exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   299
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   300
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   301
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   302
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   303
set S60VARIANT=5_1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   304
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   305
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   306
IF %PLATFORM% == symbian3 set S60VARIANT=5_2
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   307
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml -c tools_rel.whatlog -c tools2_rel.whatlog %TARGET% EXPORT -k -f exports_s60.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   308
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   309
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   310
      <command>IF %SPLIT_BUILD% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   311
IF %REBUILD_TOOLS% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   312
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   313
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   314
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   315
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   316
set S60VARIANT=5_1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   317
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   318
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   319
IF %PLATFORM% == symbian3 set S60VARIANT=5_2
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   320
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml  -c tools2_rel.whatlog.v%VARIANT% -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools2_s60.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   321
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   322
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   323
      <command>IF %SPLIT_BUILD% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   324
IF %REBUILD_TOOLS% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   325
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   326
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   327
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   328
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   329
set S60VARIANT=5_1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   330
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   331
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   332
IF %PLATFORM% == symbian3 set S60VARIANT=5_2
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   333
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml  -c tools_rel.whatlog.v%VARIANT% -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools_s60.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   334
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   335
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   336
      <command>IF %SPLIT_BUILD% == false exit
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   337
cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   338
%SUBST_DRIVE%
4
9eea79386bb7 Clear HG_PASSWORD before executing build steps. Also allow cenrep generation in PDK_Raptor for Symbian^3.
Shabe Razvi <shaber@symbian.org>
parents: 2
diff changeset
   339
set HG_PASSWORD=
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   340
cd\
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   341
set S60VARIANT=5_1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   342
set VARIANT=tb91sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   343
IF %PLATFORM% == symbian3 set VARIANT=tb92sf
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   344
IF %PLATFORM% == symbian3 set S60VARIANT=5_2
5
3325a05ec9ed Fix Bug 1303 by removing -ignore-os-detection and use buildinfo.txt.
Shabe Razvi <shaber@symbian.org>
parents: 4
diff changeset
   345
cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml  %TARGET% -j %NUMBER_OF_PROCESSORS% -t 5 -k -f build_s60.log</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   346
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   347
    <hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   348
      <command>cd %SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   349
%SUBST_DRIVE%
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   350
cd\
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   351
IF %PLATFORM% == symbian2 GOTO RUN_CENREP
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   352
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   353
cd \epoc32\rom\config
13
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   354
cmd /c cone generate -c convert.confml -o .
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   355
cd \epoc32\tools
13
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   356
cmd /c cone generate -p \epoc32\rom\config -o \epoc32\release\winscw\urel\z -c s60_root.confml
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   357
cmd /c cone generate -p \epoc32\rom\config -o \epoc32\release\winscw\udeb\z -c s60_root.confml
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   358
cmd /c cone generate -p \epoc32\rom\config -o \epoc32\data\z -c s60_root.confml
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   359
cmd /c cone generate -p \epoc32\rom\config -o \epoc32\release\winscw\urel\z -c symbianos_root.confml
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   360
cmd /c cone generate -p \epoc32\rom\config -o \epoc32\release\winscw\udeb\z -c symbianos_root.confml
0760f87d90d6 Add localisation option to help build speed. Make 'single model' build the default, now that latest PDks are built that way.
Shabe Razvi <shaber@symbian.org>
parents: 11
diff changeset
   361
cmd /c cone generate -p \epoc32\rom\config -o \epoc32\data\z -c symbianos_root.confml
11
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   362
exit 0
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   363
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   364
:RUN_CENREP
bb9574f14ea1 Update PDK_Raptor to use ConE for Symbian^3 platform build
Shabe Razvi <shaber@symbian.org>
parents: 9
diff changeset
   365
%HELIUM_HOME%\..\ConfigurationTool/cli_build.cmd -master_conf s60 -impl /epoc32/rom/config/confml_data/s60 -confml /epoc32/rom/config/confml_data/s60 -ignore_errors</command>
1
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   366
    </hudson.tasks.BatchFile>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   367
  </builders>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   368
  <publishers/>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   369
  <buildWrappers/>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   370
  <customWorkspace>C:\</customWorkspace>
861b800d9c63 Add Hudson jobs for building a PDK from source using Helium and Raptor
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   371
</project>