<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description><h3>Description</h3>
<li>This project will rebuild the Symbian^3 Platform from source using a Bill Of Materials that can either be downloaded from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page</a> or from within the job itself using the <a href="http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework"/> Foundation Build Framework (FBF)</a>
<li>It encapsulates the steps as defined in the <a href="http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework/How_to_build_the_Platform"/>manual build process </a>for Helium and is a simple way to start building using the <a href="http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework"/> Foundation Build Framework (FBF)</a>
<br><br>
The Foundation Build Framework (FBF) is an Apache ANT-like configuration that can be used with the Helium tool, delivered in the <a href="https://developer.symbian.org/main/tools_and_kits/downloads/view.php?id=4"/>PDT</a>.

<h3>Prerequisites</h3>
<li>Installation of mandatory <a href="http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework/How_to_build_the_Platform#Step_1:_Setup_your_Environment"/>build tools</a>

<h3>Additional Information</h3>
<li>Foundation Build Framework <a href="http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework/Frequently_Asked_Questions"/>FAQ</a>
<li>Foundation Build Framework <a href="http://developer.symbian.org/wiki/index.php/Foundation_Build_Framework/Troubleshooting"/>Troubleshooting guide</a>
<br><br>
Source for the FBF can be downloaded from the following Mercurial Repositories -
<br>
<li>FBF Configuration - <a href="http://developer.symbian.org/oss/MCL/sftools/fbf/configs/default"/>http://developer.symbian.org/oss/MCL/sftools/fbf/configs/default/</a>
<li>FBF Platform Project - <a href="http://developer.symbian.org/oss/MCL/sftools/fbf/projects/platforms"/>http://developer.symbian.org/oss/MCL/sftools/fbf/projects/platforms</a>
<li>FBF Bootstrap - <a href="http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap"/>http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap</a>
</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.security.AuthorizationMatrixProperty>
<useProjectSecurity>false</useProjectSecurity>
</hudson.security.AuthorizationMatrixProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>BUILD_DRIVE</name>
<description>Physical Build Drive to perform the build on. Please ensure that there is -
<br>
<li>50gb free if you're building 1 target, e.g. winscw debug
<li>150gb free if you're building all 4 targets e.g. armv5 + winscw debug + release</description>
<defaultValue>C:</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>SUBST_DRIVE</name>
<description>Subst'd EPOC drive</description>
<defaultValue>M:</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.BooleanParameterDefinition>
<name>DOWNLOAD_KIT</name>
<description>This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if -
<br>
<li>You havnt downloaded these archives already
<li>You're not sure if you have the correct archives</description>
<defaultValue>false</defaultValue>
</hudson.model.BooleanParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>KIT_VERSION</name>
<description>Version of the BOM to download. e.g.
<li>3.0.0
<br>
<b>Mandatory</b> if downloading the BOM from the web.</description>
<defaultValue></defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>HG_USERNAME</name>
<description>Enter your symbian developer web username <i>(required for any downloading of packages from BOM)</i></description>
<defaultValue></defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.PasswordParameterDefinition>
<name>HG_PASSWORD</name>
<description>Enter your symbian developer web password <i>(required for downloading of prebuilt binaries, tools and BOM)</i></description>
<defaultValue></defaultValue>
</hudson.model.PasswordParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>RELEASE_ZIP_LOCATION</name>
<description>Location of <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a> e.g.
<li>build_BOM.zip
<li>tools_epoc.zip
<br>
If downloading the kit from the web, then this is the <b>target directory</b> and can be reused again later<br>
If building a BOM that you have already downloaded, then this is the <b>existing location</b> of that build_BOM.zip etc.
</description>
<defaultValue></defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>SUB_PROJECT</name>
<description></description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>symbian3/single</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>LOCALISATION</name>
<description>Select whether to build more than one set of localised resources
<li>engineering - just r01, results in quicker build
<li>western - all defined language ids, build takes longer, but localised resources are created</description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>engineering</string>
<string>western</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
<hudson.model.BooleanParameterDefinition>
<name>USE_PREBUILT_TOOLS</name>
<description>Select this if you want to use the prebuilt tools. Only unselect this if you want to rebuild tools -
<li> Note: Rebuild requires comercial VC++ 6.0 to be installed</description>
<defaultValue>true</defaultValue>
</hudson.model.BooleanParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>TARGET</name>
<description>Comma separated list of target(s) to build. Building armv5 targets requires RVCT arm compiler installed.
<br><br>
<li>winscw_udeb.whatlog
<li>winscw_udeb.whatlog, armv5_urel.whatlog
<li>armv5.whatlog,winscw.whatlog</description>
<defaultValue>winscw_udeb.whatlog</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>FBF_REV</name>
<description>The tagged version of the FBF (Helium) to use to build the Platform.
<li>default - for the latest development revision from the web (may be unstable)
<li>PDK_3.0.0 - for 3.0.0 revision
<li>S3_LATESTGOOD - for the latest Symbian^3 stable revision
<br><br>
<i>Unless you want a specific revision, its recommended to use the 'S3_LATESTGOOD' revision of the FBF, as this will be a stable version</i></description>
<defaultValue>S3_LATESTGOOD</defaultValue>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<hudson.plugins.disk__usage.DiskUsageProperty/>
<hudson.plugins.descriptionsetter.JobByDescription/>
</properties>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers class="vector"/>
<concurrentBuild>true</concurrentBuild>
<builders>
<hudson.tasks.BatchFile>
<command>@ECHO OFF
IF "%DOWNLOAD_KIT%"=="false" EXIT 0
IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE
hg pull --update -R C:\Symbian\utilities
GOTO DOWNLOADKIT
:CLONE
hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
:DOWNLOADKIT
mkdir %RELEASE_ZIP_LOCATION%
cd /d %RELEASE_ZIP_LOCATION%
C:\Symbian\utilities\downloadkit\downloadkit.py --nounzip --nowinscw --noarmv5 --progress --nosrc %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD% > %TMP%\downloadkit.out.%BUILD_NUMBER%
@ECHO ON
type %TMP%\downloadkit.out.%BUILD_NUMBER%
@ECHO OFF
del %TMP%\downloadkit.out.%BUILD_NUMBER%
exit 0</command>
</hudson.tasks.BatchFile>
<hudson.tasks.BatchFile>
<command>%BUILD_DRIVE%
cd\
mkdir %TMP%\sf-bootstrap.%BUILD_NUMBER%
cd /d %TMP%\sf-bootstrap.%BUILD_NUMBER%
hg clone http://developer.symbian.org/oss/MCL/sftools/fbf/bootstrap
cd bootstrap
hlm -f bootstrap.xml -Dsf.project.repo=http://developer.symbian.org/oss/MCL/sftools/fbf/projects/platforms -Dsf.config.repo=http://developer.symbian.org/oss/MCL/sftools/fbf/configs/default -Dsf.target.dir=%BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER% -Dsf.config.rev=%FBF_REV% -Dsf.project.rev=%FBF_REV%
rd %TMP%\sf-bootstrap.%BUILD_NUMBER% /q/s</command>
</hudson.tasks.BatchFile>
<hudson.tasks.BatchFile>
<command>%BUILD_DRIVE%
cd\
cd %BUILD_DRIVE%\maintools_%JOB_NAME%.%BUILD_NUMBER%\sf-config
hlm sf-build -Dsf.spec.job.drive=%SUBST_DRIVE% -Dsf.spec.job.number=%JOB_NAME%.%BUILD_NUMBER% -Dsf.subproject.path=%SUB_PROJECT% -Dsf.spec.toolsbaseline.enable=%USE_PREBUILT_TOOLS% -Dsf.spec.sbs.config="%TARGET%" -Dsf.spec.sbs.tools.config="tools.whatlog,tools2.whatlog" -Dsf.spec.job.rootdir=%BUILD_DRIVE% -Dsf.suppress.buildenv.check=true -Dsf.suppress.drive.space.check=true -Dsf.spec.bldmefirst.s60.variant=%LOCALISATION% -Dsf.spec.baseline.location="%RELEASE_ZIP_LOCATION%"</command>
</hudson.tasks.BatchFile>
</builders>
<publishers/>
<buildWrappers/>
</project>