1 <?xml version='1.0' encoding='UTF-8'?> |
1 <?xml version='1.0' encoding='UTF-8'?> |
2 <project> |
2 <project> |
3 <actions/> |
3 <actions/> |
4 <description><h3>Description</h3>
 |
4 <description><h3>Description</h3>
 |
5 <li>This project will rebuild the Symbian^2 and Symbian^3 Platform from source using a Bill Of Materials that can be downloaded from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a>
 |
5 <li>This project will rebuild the Symbian^2 and Symbian^3 Platform from source using a Bill Of Materials that can either be downloaded from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page</a> or from within the job itself.
 |
6 <li>It encapsulates the steps as defined in the <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium"/>manual build process </a>for Helium and is a simple way to start building using the Foundation Build Framework.
 |
6 <li>It encapsulates the steps as defined in the <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium"/>manual build process </a>for Helium and is a simple way to start building using the Foundation Build Framework.
 |
7 <br><br>
 |
7 <br><br>
 |
8 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>.
 |
8 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>.
 |
9 
 |
9 
 |
10 <h3>Prerequisites</h3>
 |
10 <h3>Prerequisites</h3>
 |
11 <li>Installation of mandatory <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Installing_Build_Tools"/>build tools</a>
 |
11 <li>Installation of mandatory <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Installing_Build_Tools"/>build tools</a>
 |
12 <li>Download of required (and recommended) <a href="
 |
|
13 http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_helium#Getting_the_Baseline"/>zips </a> from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a>
 |
|
14 
 |
12 
 |
15 <h3>Additional Information</h3>
 |
13 <h3>Additional Information</h3>
 |
16 Source for the FBF can be downloaded from the following Mercurial Repositories -
 |
14 Source for the FBF can be downloaded from the following Mercurial Repositories -
 |
17 <br>
 |
15 <br>
 |
18 <li>FBF Configuration - <a href="https://developer.symbian.org/oss/FCL/interim/fbf/configs/default/"/>https://developer.symbian.org/oss/FCL/interim/fbf/configs/default/</a>
 |
16 <li>FBF Configuration - <a href="https://developer.symbian.org/oss/FCL/interim/fbf/configs/default/"/>https://developer.symbian.org/oss/FCL/interim/fbf/configs/default/</a>
 |
19 <li>FBF Platform Project - <a href="https://developer.symbian.org/oss/FCL/interim/fbf/projects/platforms"/>https://developer.symbian.org/oss/FCL/interim/fbf/projects/platforms</a>
 |
17 <li>FBF Platform Project - <a href="https://developer.symbian.org/oss/FCL/interim/fbf/projects/platforms"/>https://developer.symbian.org/oss/FCL/interim/fbf/projects/platforms</a>
 |
20 <li>FBF Bootstrap - <a href="https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap"/>https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap</a>
 |
18 <li>FBF Bootstrap - <a href="https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap"/>https://developer.symbian.org/oss/FCL/interim/fbf/bootstrap</a>
 |
21 </description> |
19 </description> |
22 <keepDependencies>false</keepDependencies> |
20 <keepDependencies>false</keepDependencies> |
23 <properties> |
21 <properties> |
|
22 <hudson.security.AuthorizationMatrixProperty> |
|
23 <useProjectSecurity>false</useProjectSecurity> |
|
24 </hudson.security.AuthorizationMatrixProperty> |
24 <hudson.model.ParametersDefinitionProperty> |
25 <hudson.model.ParametersDefinitionProperty> |
25 <parameterDefinitions> |
26 <parameterDefinitions> |
26 <hudson.model.StringParameterDefinition> |
27 <hudson.model.StringParameterDefinition> |
27 <name>BUILD_DRIVE</name> |
28 <name>BUILD_DRIVE</name> |
28 <description>Physical Build Drive</description> |
29 <description>Physical Build Drive</description> |
31 <hudson.model.StringParameterDefinition> |
32 <hudson.model.StringParameterDefinition> |
32 <name>SUBST_DRIVE</name> |
33 <name>SUBST_DRIVE</name> |
33 <description>Subst'd EPOC drive</description> |
34 <description>Subst'd EPOC drive</description> |
34 <defaultValue>M:</defaultValue> |
35 <defaultValue>M:</defaultValue> |
35 </hudson.model.StringParameterDefinition> |
36 </hudson.model.StringParameterDefinition> |
|
37 <hudson.model.StringParameterDefinition> |
|
38 <name>KIT_VERSION</name> |
|
39 <description>Version of the kit to download. e.g. |
|
40 <li>2.0.2 |
|
41 <li>3.0.h</description> |
|
42 <defaultValue></defaultValue> |
|
43 </hudson.model.StringParameterDefinition> |
|
44 <hudson.model.BooleanParameterDefinition> |
|
45 <name>DOWNLOAD_KIT</name> |
|
46 <description>This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if - |
|
47 <li>You havnt downloaded these archives already |
|
48 <li>You're not sure if you have the correct archives</description> |
|
49 <defaultValue>false</defaultValue> |
|
50 </hudson.model.BooleanParameterDefinition> |
36 <hudson.model.StringParameterDefinition> |
51 <hudson.model.StringParameterDefinition> |
37 <name>RELEASE_ZIP_LOCATION</name> |
52 <name>RELEASE_ZIP_LOCATION</name> |
38 <description>Location of <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a> e.g. |
53 <description>Location of <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a> e.g. |
39 <li>build_BOM.zip |
54 <li>build_BOM.zip |
40 <li>tools_epoc.zip |
55 <li>tools_epoc.zip |
41 |
56 |
42 </description> |
57 </description> |
43 <defaultValue></defaultValue> |
58 <defaultValue></defaultValue> |
44 </hudson.model.StringParameterDefinition> |
59 </hudson.model.StringParameterDefinition> |
|
60 <hudson.model.ChoiceParameterDefinition> |
|
61 <name>SRC_LOCATION</name> |
|
62 <description>How to get source for building the Platform - |
|
63 <li>BOM - download source direct from <a href="https://developer.symbian.org/oss">web</a> using downloaded Bill Of Materials |
|
64 <li>ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description> |
|
65 <choices class="java.util.Arrays$ArrayList"> |
|
66 <a class="string-array"> |
|
67 <string>BOM</string> |
|
68 <string>ZIPFILES</string> |
|
69 </a> |
|
70 </choices> |
|
71 </hudson.model.ChoiceParameterDefinition> |
45 <hudson.model.BooleanParameterDefinition> |
72 <hudson.model.BooleanParameterDefinition> |
46 <name>REBUILD_TOOLS</name> |
73 <name>REBUILD_TOOLS</name> |
47 <description>Tick this if you want to rebuild "TOOLS" target as well |
74 <description>Tick this if you want to rebuild "TOOLS" target as well |
48 <li> Requires comercial VC++ 6.0 installed plus - |
75 <li> Requires comercial VC++ 6.0 installed plus - |
49 <li> Requires binaries_epoc32_stlport.zip from <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a></description> |
76 <li> Requires binaries_epoc32_stlport.zip from <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a></description> |
66 <string>engineering</string> |
93 <string>engineering</string> |
67 <string>western</string> |
94 <string>western</string> |
68 </a> |
95 </a> |
69 </choices> |
96 </choices> |
70 </hudson.model.ChoiceParameterDefinition> |
97 </hudson.model.ChoiceParameterDefinition> |
71 <hudson.model.ChoiceParameterDefinition> |
|
72 <name>SRC_LOCATION</name> |
|
73 <description>How to get src for building the Platform. |
|
74 <li>BOM - download source direct from <a href="https://developer.symbian.org/oss">web</a> using downloaded Bill Of Materials |
|
75 <li>ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description> |
|
76 <choices class="java.util.Arrays$ArrayList"> |
|
77 <a class="string-array"> |
|
78 <string>BOM</string> |
|
79 <string>ZIPFILES</string> |
|
80 </a> |
|
81 </choices> |
|
82 </hudson.model.ChoiceParameterDefinition> |
|
83 <hudson.model.StringParameterDefinition> |
98 <hudson.model.StringParameterDefinition> |
84 <name>HG_USERNAME</name> |
99 <name>HG_USERNAME</name> |
85 <description>Enter your symbian developer web username <i>(required for download of packages from BOM, not needed when using source zip packages)</i></description> |
100 <description>Enter your symbian developer web username <i>(required for any downloading of packages from BOM)</i></description> |
86 <defaultValue></defaultValue> |
101 <defaultValue></defaultValue> |
87 </hudson.model.StringParameterDefinition> |
102 </hudson.model.StringParameterDefinition> |
88 <hudson.model.PasswordParameterDefinition> |
103 <hudson.model.PasswordParameterDefinition> |
89 <name>HG_PASSWORD</name> |
104 <name>HG_PASSWORD</name> |
90 <description>Enter your Mercurial symbian developer web password <i>(required for download of packages from BOM, not needed when using source zip packages)</i> |
105 <description>Enter your symbian developer web password <i>(required for any downloading of packages from BOM)</i> |
91 <br></description> |
106 <br> |
|
107 Note: Please be aware that your password will be displayed in <b>cleartext</b> in the top of the console log</description> |
92 <defaultValue></defaultValue> |
108 <defaultValue></defaultValue> |
93 </hudson.model.PasswordParameterDefinition> |
109 </hudson.model.PasswordParameterDefinition> |
94 <hudson.model.ChoiceParameterDefinition> |
110 <hudson.model.ChoiceParameterDefinition> |
95 <name>PLATFORM</name> |
111 <name>PLATFORM</name> |
96 <description></description> |
112 <description></description> |
121 <a class="string-array"> |
137 <a class="string-array"> |
122 <string>default</string> |
138 <string>default</string> |
123 <string>PDK_2.0.2</string> |
139 <string>PDK_2.0.2</string> |
124 <string>PDK_2.0.1</string> |
140 <string>PDK_2.0.1</string> |
125 <string>PDK_2.0.0</string> |
141 <string>PDK_2.0.0</string> |
|
142 <string>PDK_3.0.h</string> |
126 <string>PDK_3.0.g</string> |
143 <string>PDK_3.0.g</string> |
127 <string>PDK_3.0.f</string> |
144 <string>PDK_3.0.f</string> |
128 <string>PDK_3.0.e</string> |
145 <string>PDK_3.0.e</string> |
129 <string>PDK_3.0.d</string> |
146 <string>PDK_3.0.d</string> |
130 <string>PDK_3.0.c</string> |
147 <string>PDK_3.0.c</string> |
133 </a> |
150 </a> |
134 </choices> |
151 </choices> |
135 </hudson.model.ChoiceParameterDefinition> |
152 </hudson.model.ChoiceParameterDefinition> |
136 </parameterDefinitions> |
153 </parameterDefinitions> |
137 </hudson.model.ParametersDefinitionProperty> |
154 </hudson.model.ParametersDefinitionProperty> |
|
155 <hudson.plugins.disk__usage.DiskUsageProperty/> |
|
156 <hudson.plugins.descriptionsetter.JobByDescription/> |
138 </properties> |
157 </properties> |
139 <scm class="hudson.scm.NullSCM"/> |
158 <scm class="hudson.scm.NullSCM"/> |
140 <canRoam>true</canRoam> |
159 <canRoam>true</canRoam> |
141 <disabled>false</disabled> |
160 <disabled>false</disabled> |
142 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> |
161 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> |
143 <triggers class="vector"/> |
162 <triggers class="vector"/> |
144 <concurrentBuild>true</concurrentBuild> |
163 <concurrentBuild>true</concurrentBuild> |
145 <builders> |
164 <builders> |
|
165 <hudson.tasks.BatchFile> |
|
166 <command>@ECHO OFF |
|
167 IF "%DOWNLOAD_KIT%"=="false" EXIT 0 |
|
168 IF "%SRC_LOCATION%"=="BOM" SET DO_SRC_DOWNLOAD=--nosrc |
|
169 IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE |
|
170 hg pull --update -R C:\Symbian\utilities |
|
171 GOTO DOWNLOADKIT |
|
172 :CLONE |
|
173 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities |
|
174 :DOWNLOADKIT |
|
175 mkdir %RELEASE_ZIP_LOCATION% |
|
176 cd /d %RELEASE_ZIP_LOCATION% |
|
177 @ECHO ON |
|
178 C:\Symbian\utilities\downloadkit\downloadkit.py --nounzip --nowinscw --noarmv5 --progress %DO_SRC_DOWNLOAD% %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD% |
|
179 exit 0</command> |
|
180 </hudson.tasks.BatchFile> |
146 <hudson.tasks.BatchFile> |
181 <hudson.tasks.BatchFile> |
147 <command>%BUILD_DRIVE% |
182 <command>%BUILD_DRIVE% |
148 cd\ |
183 cd\ |
149 rmdir /q/s sf-bootstrap |
184 rmdir /q/s sf-bootstrap |
150 mkdir sf-bootstrap |
185 mkdir sf-bootstrap |