author | Shabe Razvi <shaber@symbian.org> |
Tue, 06 Jul 2010 15:38:10 +0100 | |
changeset 21 | 3291c6ed4a3b |
parent 10 | 6605a601cc77 |
permissions | -rw-r--r-- |
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><img align="center" src="http://developer.symbian.org/img/skin1209/header_bg.gif" />
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
5 |
<h3>Description</h3>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
6 |
<p>This project builds a specified package against a build environment created using the <b>FBF_PrepareEnvironment</b> project (using the <a href="http://developer.symbian.org/wiki/index.php/Build_machinery#Helium_.2F_Foundation_Build_Framework"/>Foundation Build Framework (Helium)</a>). 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)</p>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
7 |

 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
8 |
<h3>Prerequisites</h3>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
9 |
<ol>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
10 |
<li>Run the <b>FBF_PrepareEnvironment</b> project to prepare a build drive (your PC must satisfy all the FBF_PrepareEnvironment project preconditions). The build drive should have a 'maintools' folder in the root as a result of running FBF_PrepareEnvironment</li>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
11 |
<li>If you wish to use a pre-prepared build that is no longer mapped to a drive, then you will need to <tt>subst</tt> the build folder on the physical build drive - for example to <tt>subst</tt> a folder on C: drive to M:
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
12 |
<pre>cd C:\unique_build_directory_created_by_FBF_PrepareEnvironment\
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
13 |
subst M: .
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
14 |
</pre></li> 
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
15 |
</ol>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
16 |

 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
17 |
<h3>Operation</h3>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
18 |
<p>The project will perform the following operations on the specified <tt>subst</tt> drive:</p>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
19 |
<ol>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
20 |
<li>(If requested) clone the source for the specified package from the web, at the revision in the BOM if GET_PACKAGE_SOURCE is specified.</li>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
21 |
<li>Compile the specified package (on cloned or pre-extracted source)</li>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
22 |
<li>Run post build reporting.</li>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
23 |
</ol>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
24 |

 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
25 |
<h3>Results</h3>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
26 |
<p>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:</p>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
27 |
<ol>
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
28 |
<li>\output\logs\html\index.html
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
29 |
<li>\output\logs\analysis\
 |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
30 |
</ol></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'd EPOC drive, containing |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
38 |
<li>epoc32 folder |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
39 |
<li>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 |
<li>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 |
<li>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 <i>(required for download of packages from BOM)</i></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 <i>(required for download of packages from BOM</i> |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
57 |
<br></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 |
<br><br> |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
80 |
<li>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 |
<li>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 |
<li>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 "%GET_PACKAGE_SOURCE%"=="true" 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 "%HG_USERNAME%" == "" GOTO USERNAME_OK |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
101 |
@echo "You must enter a UserName and Password " |
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 "%HG_PASSWORD%" == "" GOTO HG_OK |
6605a601cc77
Replace PKG_Helium with new configs FBF_PrepareEnvironment & FBF_BuildPackage
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
105 |
@echo "You must enter a UserName and Password" |
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="%TARGET%" -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> |