FBF_BuildPackage/config.xml
author Shabe Razvi <shaber@symbian.org>
Tue, 06 Jul 2010 15:38:10 +0100
changeset 21 3291c6ed4a3b
parent 10 6605a601cc77
permissions -rw-r--r--
Update PDK_Helium to reflect supported build process as of PDK_3.0.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     1
<?xml version='1.0' encoding='UTF-8'?>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     2
<project>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     3
  <actions/>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     4
  <description>&lt;img align=&quot;center&quot; src=&quot;http://developer.symbian.org/img/skin1209/header_bg.gif&quot; /&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     5
&lt;h3&gt;Description&lt;/h3&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     6
&lt;p&gt;This project builds a specified package against a build environment created using the &lt;b&gt;FBF_PrepareEnvironment&lt;/b&gt; project (using the &lt;a href=&quot;http://developer.symbian.org/wiki/index.php/Build_machinery#Helium_.2F_Foundation_Build_Framework&quot;/&gt;Foundation Build Framework (Helium)&lt;/a&gt;). The project can build the specified package from source already unzipped in the environment, or you can specify that you want the source cloned from Mercurial (this will be done at the correct revision as specified in the BOM)&lt;/p&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     7
&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     8
&lt;h3&gt;Prerequisites&lt;/h3&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     9
&lt;ol&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    10
&lt;li&gt;Run the &lt;b&gt;FBF_PrepareEnvironment&lt;/b&gt; project to prepare a build drive (your PC must satisfy all the FBF_PrepareEnvironment project preconditions). The build drive should have a &apos;maintools&apos; folder in the root as a result of running FBF_PrepareEnvironment&lt;/li&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    11
&lt;li&gt;If you wish to use a pre-prepared build that is no longer mapped to a drive, then you will need to &lt;tt&gt;subst&lt;/tt&gt; the build folder on the physical build drive - for example to &lt;tt&gt;subst&lt;/tt&gt; a folder on C: drive to M:&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    12
&lt;pre&gt;cd C:\unique_build_directory_created_by_FBF_PrepareEnvironment\&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    13
subst M: .&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    14
&lt;/pre&gt;&lt;/li&gt; &#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    15
&lt;/ol&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    16
&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    17
&lt;h3&gt;Operation&lt;/h3&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    18
&lt;p&gt;The project will perform the following operations on the specified &lt;tt&gt;subst&lt;/tt&gt; drive:&lt;/p&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    19
&lt;ol&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    20
&lt;li&gt;(If requested) clone the source for the specified package from the web, at the revision in the BOM if GET_PACKAGE_SOURCE is specified.&lt;/li&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    21
&lt;li&gt;Compile the specified package (on cloned or pre-extracted source)&lt;/li&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    22
&lt;li&gt;Run post build reporting.&lt;/li&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    23
&lt;/ol&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    24
&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    25
&lt;h3&gt;Results&lt;/h3&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    26
&lt;p&gt;When Hudson reports success, this means that it ran to completion. You still need to look at build reports to identify if there are issues in your build. Post build reporting output is available in the following locations:&lt;/p&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    27
&lt;ol&gt;&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    28
&lt;li&gt;\output\logs\html\index.html&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    29
&lt;li&gt;\output\logs\analysis\&#xd;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    30
&lt;/ol&gt;</description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    31
  <keepDependencies>false</keepDependencies>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    32
  <properties>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    33
    <hudson.model.ParametersDefinitionProperty>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    34
      <parameterDefinitions>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    35
        <hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    36
          <name>SUBST_DRIVE</name>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    37
          <description>Subst&apos;d EPOC drive, containing
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    38
&lt;li&gt;epoc32 folder
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    39
&lt;li&gt;FBF maintools folder</description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    40
          <defaultValue>M:</defaultValue>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    41
        </hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    42
        <hudson.model.BooleanParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    43
          <name>GET_PACKAGE_SOURCE</name>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    44
          <description>Clone the package from the web.
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    45
&lt;li&gt;Replaces any existing source folder for this package
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    46
&lt;li&gt;Requires HG_USERNAME and HG_PASSWORD</description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    47
          <defaultValue>false</defaultValue>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    48
        </hudson.model.BooleanParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    49
        <hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    50
          <name>HG_USERNAME</name>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    51
          <description>Enter your symbian developer web username &lt;i&gt;(required for download of packages from BOM)&lt;/i&gt;</description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    52
          <defaultValue></defaultValue>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    53
        </hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    54
        <hudson.model.PasswordParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    55
          <name>HG_PASSWORD</name>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    56
          <description>Enter your Mercurial symbian developer web password  &lt;i&gt;(required for download of packages from BOM&lt;/i&gt;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    57
&lt;br&gt;</description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    58
          <defaultValue></defaultValue>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    59
        </hudson.model.PasswordParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    60
        <hudson.model.ChoiceParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    61
          <name>CODELINE</name>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    62
          <description></description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    63
          <choices class="java.util.Arrays$ArrayList">
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    64
            <a class="string-array">
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    65
              <string>Symbian2</string>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    66
              <string>Symbian3</string>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    67
              <string>CompilerCompatability</string>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    68
            </a>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    69
          </choices>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    70
        </hudson.model.ChoiceParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    71
        <hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    72
          <name>PACKAGE</name>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    73
          <description>Layer and name of package e.g. os/kernelhwsrv</description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    74
          <defaultValue></defaultValue>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    75
        </hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    76
        <hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    77
          <name>TARGET</name>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    78
          <description>Comma separated list of target(s) to build. Building armv5 targets requires RVCT arm compiler installed. e.g.
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    79
&lt;br&gt;&lt;br&gt;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    80
&lt;li&gt;tools.whatlog,tools2.whatlog,winscw_udeb.whatlog
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    81
&lt;li&gt;winscw_udeb.whatlog, armv5_urel.whatlog
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    82
&lt;li&gt;armv5.whatlog,winscw.whatlog</description>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    83
          <defaultValue>winscw_udeb.whatlog</defaultValue>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    84
        </hudson.model.StringParameterDefinition>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    85
      </parameterDefinitions>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    86
    </hudson.model.ParametersDefinitionProperty>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    87
  </properties>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    88
  <scm class="hudson.scm.NullSCM"/>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    89
  <canRoam>true</canRoam>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    90
  <disabled>false</disabled>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    91
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    92
  <triggers class="vector"/>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    93
  <concurrentBuild>true</concurrentBuild>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    94
  <builders>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    95
    <hudson.tasks.BatchFile>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    96
      <command>IF NOT &quot;%GET_PACKAGE_SOURCE%&quot;==&quot;true&quot; exit 0
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    97
%SUBST_DRIVE%
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    98
cd \
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    99
@ECHO OFF
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   100
IF NOT &quot;%HG_USERNAME%&quot; == &quot;&quot; GOTO USERNAME_OK
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   101
@echo &quot;You must enter a UserName and Password &quot;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   102
exit 1
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   103
:USERNAME_OK
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   104
IF NOT &quot;%HG_PASSWORD%&quot; == &quot;&quot; GOTO HG_OK
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   105
@echo &quot;You must enter a UserName and Password&quot;
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   106
exit 1
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   107
:HG_OK
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   108
if exist sf\%PACKAGE% (
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   109
    @ECHO ** Moving existing source for %PACKAGE% to %PACKAGE%.%BUILD_NUMBER%
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   110
    move sf\%PACKAGE% sf\%PACKAGE%.%BUILD_NUMBER%
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   111
)
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   112
cd \tmp
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   113
hg clone http://developer.symbian.org/oss/MCL/utilities
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   114
cd\
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   115
\tmp\utilities\clone_packages\clone_all_packages.pl -packagelist \build_info\logs\BOM\build-info.xml -username %HG_USERNAME% -password %HG_PASSWORD% -retries=7 -filter %PACKAGE%</command>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   116
    </hudson.tasks.BatchFile>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   117
    <hudson.tasks.BatchFile>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   118
      <command>%SUBST_DRIVE%
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   119
set HG_PASSWORD=
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   120
cd maintools\sf-config
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   121
hlm sf-build-noprep -Dbuild.drive=%SUBST_DRIVE% -Dsf.spec.job.number=%JOB_NAME%.%BUILD_NUMBER% -Dsf.spec.sbs.config=&quot;%TARGET%&quot; -Dsf.project.type=package -Dsf.subproject.path=%CODELINE%/%PACKAGE% -Dsf.spec.publish.enable=false </command>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   122
    </hudson.tasks.BatchFile>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   123
    <hudson.tasks.BatchFile>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   124
      <command>@ECHO **
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   125
@ECHO ** Compile logs can be found in %SUBST_DRIVE%\output\logs\                          
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   126
@ECHO ** Build summary can be found at %SUBST_DRIVE%\output\logs\html\index.htm 
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   127
@ECHO **</command>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   128
    </hudson.tasks.BatchFile>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   129
  </builders>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   130
  <publishers/>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   131
  <buildWrappers/>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   132
  <customWorkspace>D:\</customWorkspace>
6605a601cc77 Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   133
</project>