10 <li>Download of required (and recommended) <a href="
 |
10 <li>Download of required (and recommended) <a href="
 |
11 http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_Raptor#Getting_the_Baseline"/>zips </a> from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a>
 |
11 http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_Raptor#Getting_the_Baseline"/>zips </a> from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a>
 |
12 </description> |
12 </description> |
13 <keepDependencies>false</keepDependencies> |
13 <keepDependencies>false</keepDependencies> |
14 <properties> |
14 <properties> |
15 <hudson.security.AuthorizationMatrixProperty> |
|
16 <useProjectSecurity>false</useProjectSecurity> |
|
17 </hudson.security.AuthorizationMatrixProperty> |
|
18 <hudson.model.ParametersDefinitionProperty> |
15 <hudson.model.ParametersDefinitionProperty> |
19 <parameterDefinitions> |
16 <parameterDefinitions> |
20 <hudson.model.StringParameterDefinition> |
17 <hudson.model.StringParameterDefinition> |
21 <name>BUILD_DRIVE</name> |
18 <name>BUILD_DRIVE</name> |
22 <description>Physical Build Drive</description> |
19 <description>Physical Build Drive</description> |
73 <defaultValue></defaultValue> |
70 <defaultValue></defaultValue> |
74 </hudson.model.StringParameterDefinition> |
71 </hudson.model.StringParameterDefinition> |
75 <hudson.model.PasswordParameterDefinition> |
72 <hudson.model.PasswordParameterDefinition> |
76 <name>HG_PASSWORD</name> |
73 <name>HG_PASSWORD</name> |
77 <description>Enter your Mercurial symbian developer web password <i>(required for download of packages from BOM, not needed when using source zip packages)</i> |
74 <description>Enter your Mercurial symbian developer web password <i>(required for download of packages from BOM, not needed when using source zip packages)</i> |
78 <br><b>Note: Be aware that currently this password will appear in plain text in the build logs.</b></description> |
75 <br></description> |
79 <defaultValue></defaultValue> |
76 <defaultValue></defaultValue> |
80 </hudson.model.PasswordParameterDefinition> |
77 </hudson.model.PasswordParameterDefinition> |
81 <hudson.model.ChoiceParameterDefinition> |
78 <hudson.model.ChoiceParameterDefinition> |
82 <name>PLATFORM</name> |
79 <name>PLATFORM</name> |
83 <description></description> |
80 <description></description> |
169 %SUBST_DRIVE% |
166 %SUBST_DRIVE% |
170 cd \ |
167 cd \ |
171 mkdir %SUBST_DRIVE%\epoc32\include\variant\ |
168 mkdir %SUBST_DRIVE%\epoc32\include\variant\ |
172 mkdir %SUBST_DRIVE%\epoc32\tools\variant\ |
169 mkdir %SUBST_DRIVE%\epoc32\tools\variant\ |
173 set VARIANT=tb91sf |
170 set VARIANT=tb91sf |
|
171 set HG_PASSWORD= |
174 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
172 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
175 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 |
173 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 |
176 copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\*.hrh %SUBST_DRIVE%\epoc32\include\variant\ |
174 copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\*.hrh %SUBST_DRIVE%\epoc32\include\variant\ |
177 copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\Symbian_OS_v%VARIANT%.cfg %SUBST_DRIVE%\epoc32\tools\variant\variant.cfg |
175 copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\Symbian_OS_v%VARIANT%.cfg %SUBST_DRIVE%\epoc32\tools\variant\variant.cfg |
178 cd %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\inc\ |
176 cd %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\inc\ |
181 </hudson.tasks.BatchFile> |
179 </hudson.tasks.BatchFile> |
182 <hudson.tasks.BatchFile> |
180 <hudson.tasks.BatchFile> |
183 <command>IF %LEGACY_BLDMEFIRST% == true exit |
181 <command>IF %LEGACY_BLDMEFIRST% == true exit |
184 cd %SUBST_DRIVE% |
182 cd %SUBST_DRIVE% |
185 %SUBST_DRIVE% |
183 %SUBST_DRIVE% |
|
184 set HG_PASSWORD= |
186 cd\ |
185 cd\ |
187 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\western\group\bld.inf |
186 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\western\group\bld.inf |
188 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\group\bld.inf |
187 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\group\bld.inf |
189 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\platform_path_definitions_api\group\bld.inf |
188 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\platform_path_definitions_api\group\bld.inf |
190 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\common_platform_security_definitions_api\group\bld.inf |
189 cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\common_platform_security_definitions_api\group\bld.inf |
194 </hudson.tasks.BatchFile> |
193 </hudson.tasks.BatchFile> |
195 <hudson.tasks.BatchFile> |
194 <hudson.tasks.BatchFile> |
196 <command>IF %LEGACY_BLDMEFIRST% == true exit |
195 <command>IF %LEGACY_BLDMEFIRST% == true exit |
197 cd %SUBST_DRIVE% |
196 cd %SUBST_DRIVE% |
198 %SUBST_DRIVE% |
197 %SUBST_DRIVE% |
|
198 set HG_PASSWORD= |
199 cd\ |
199 cd\ |
200 xcopy /s %SUBST_DRIVE%\sf\tools\makefile_templates\*.* %SUBST_DRIVE%\epoc32\tools\makefile_templates\s60\ |
200 xcopy /s %SUBST_DRIVE%\sf\tools\makefile_templates\*.* %SUBST_DRIVE%\epoc32\tools\makefile_templates\s60\ |
201 exit 0</command> |
201 exit 0</command> |
202 </hudson.tasks.BatchFile> |
202 </hudson.tasks.BatchFile> |
203 <hudson.tasks.BatchFile> |
203 <hudson.tasks.BatchFile> |
204 <command>if %REBUILD_TOOLS% == true exit |
204 <command>if %REBUILD_TOOLS% == true exit |
205 cd %SUBST_DRIVE% |
205 cd %SUBST_DRIVE% |
206 %SUBST_DRIVE% |
206 %SUBST_DRIVE% |
|
207 set HG_PASSWORD= |
207 cd\ |
208 cd\ |
208 set VARIANT=tb91sf |
209 set VARIANT=tb91sf |
209 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
210 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
210 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% -i EXPORT -k -f exports.log</command> |
211 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% -i EXPORT -k -f exports.log</command> |
211 </hudson.tasks.BatchFile> |
212 </hudson.tasks.BatchFile> |
212 <hudson.tasks.BatchFile> |
213 <hudson.tasks.BatchFile> |
213 <command>if %REBUILD_TOOLS% == false exit |
214 <command>if %REBUILD_TOOLS% == false exit |
214 cd %SUBST_DRIVE% |
215 cd %SUBST_DRIVE% |
215 %SUBST_DRIVE% |
216 %SUBST_DRIVE% |
|
217 set HG_PASSWORD= |
216 cd\ |
218 cd\ |
217 set VARIANT=tb91sf |
219 set VARIANT=tb91sf |
218 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
220 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
219 cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools2_rel.whatlog.v%VARIANT% -i -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools2_gt.log</command> |
221 cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools2_rel.whatlog.v%VARIANT% -i -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools2_gt.log</command> |
220 </hudson.tasks.BatchFile> |
222 </hudson.tasks.BatchFile> |
221 <hudson.tasks.BatchFile> |
223 <hudson.tasks.BatchFile> |
222 <command>if %REBUILD_TOOLS% == false exit |
224 <command>if %REBUILD_TOOLS% == false exit |
223 cd %SUBST_DRIVE% |
225 cd %SUBST_DRIVE% |
224 %SUBST_DRIVE% |
226 %SUBST_DRIVE% |
|
227 set HG_PASSWORD= |
225 cd\ |
228 cd\ |
226 set VARIANT=tb91sf |
229 set VARIANT=tb91sf |
227 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
230 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
228 cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools_rel.whatlog.v%VARIANT% -i -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools_gt.log</command> |
231 cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools_rel.whatlog.v%VARIANT% -i -j %NUMBER_OF_PROCESSORS% -t 5 -k -f tools_gt.log</command> |
229 </hudson.tasks.BatchFile> |
232 </hudson.tasks.BatchFile> |
230 <hudson.tasks.BatchFile> |
233 <hudson.tasks.BatchFile> |
231 <command>cd %SUBST_DRIVE% |
234 <command>cd %SUBST_DRIVE% |
232 %SUBST_DRIVE% |
235 %SUBST_DRIVE% |
|
236 set HG_PASSWORD= |
233 cd\ |
237 cd\ |
234 set VARIANT=tb91sf |
238 set VARIANT=tb91sf |
235 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
239 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
236 cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml %TARGET% -i -j %NUMBER_OF_PROCESSORS% -t 5 -k -f build.log</command> |
240 cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml %TARGET% -i -j %NUMBER_OF_PROCESSORS% -t 5 -k -f build.log</command> |
237 </hudson.tasks.BatchFile> |
241 </hudson.tasks.BatchFile> |
238 <hudson.tasks.BatchFile> |
242 <hudson.tasks.BatchFile> |
239 <command>IF %SPLIT_BUILD% == false exit |
243 <command>IF %SPLIT_BUILD% == false exit |
240 IF %REBUILD_TOOLS% == true exit |
244 IF %REBUILD_TOOLS% == true exit |
241 cd %SUBST_DRIVE% |
245 cd %SUBST_DRIVE% |
242 %SUBST_DRIVE% |
246 %SUBST_DRIVE% |
|
247 set HG_PASSWORD= |
243 cd\ |
248 cd\ |
244 set S60VARIANT=5_1 |
249 set S60VARIANT=5_1 |
245 set VARIANT=tb91sf |
250 set VARIANT=tb91sf |
246 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
251 IF %PLATFORM% == symbian3 set VARIANT=tb92sf |
247 IF %PLATFORM% == symbian3 set S60VARIANT=5_2 |
252 IF %PLATFORM% == symbian3 set S60VARIANT=5_2 |
284 </hudson.tasks.BatchFile> |
292 </hudson.tasks.BatchFile> |
285 <hudson.tasks.BatchFile> |
293 <hudson.tasks.BatchFile> |
286 <command>cd %SUBST_DRIVE% |
294 <command>cd %SUBST_DRIVE% |
287 %SUBST_DRIVE% |
295 %SUBST_DRIVE% |
288 cd\ |
296 cd\ |
289 %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> |
297 IF %PLATFORM% == symbian2 set CENREP_DIR=/epoc32/rom/config/confml_data/s60 |
|
298 IF %PLATFORM% == symbian3 set CENREP_DIR=/epoc32/rom/config/assets |
|
299 %HELIUM_HOME%\..\ConfigurationTool/cli_build.cmd -master_conf s60 -impl %CENREP_DIR% -confml %CENREP_DIR% -ignore_errors</command> |
290 </hudson.tasks.BatchFile> |
300 </hudson.tasks.BatchFile> |
291 </builders> |
301 </builders> |
292 <publishers/> |
302 <publishers/> |
293 <buildWrappers/> |
303 <buildWrappers/> |
294 <customWorkspace>C:\</customWorkspace> |
304 <customWorkspace>C:\</customWorkspace> |