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> |
15 <hudson.model.ParametersDefinitionProperty> |
18 <hudson.model.ParametersDefinitionProperty> |
16 <parameterDefinitions> |
19 <parameterDefinitions> |
17 <hudson.model.StringParameterDefinition> |
20 <hudson.model.StringParameterDefinition> |
18 <name>BUILD_DRIVE</name> |
21 <name>BUILD_DRIVE</name> |
19 <description>Physical Build Drive</description> |
22 <description>Physical Build Drive</description> |
23 <name>SUBST_DRIVE</name> |
26 <name>SUBST_DRIVE</name> |
24 <description>Subst'd EPOC drive</description> |
27 <description>Subst'd EPOC drive</description> |
25 <defaultValue>M:</defaultValue> |
28 <defaultValue>M:</defaultValue> |
26 </hudson.model.StringParameterDefinition> |
29 </hudson.model.StringParameterDefinition> |
27 <hudson.model.StringParameterDefinition> |
30 <hudson.model.StringParameterDefinition> |
|
31 <name>KIT_VERSION</name> |
|
32 <description>Version of the Bill of Materials (BOM), tools and prebuilt binaries to download/build e.g. |
|
33 <li>2.0.2 |
|
34 <li>3.0.h</description> |
|
35 <defaultValue></defaultValue> |
|
36 </hudson.model.StringParameterDefinition> |
|
37 <hudson.model.BooleanParameterDefinition> |
|
38 <name>DOWNLOAD_KIT</name> |
|
39 <description>This will download the Bill of Materials (BOM), tools and prebuilt binaries from the web. Select if - |
|
40 <li>You havnt downloaded these archives already |
|
41 <li>You're not sure if you have the correct archives</description> |
|
42 <defaultValue>false</defaultValue> |
|
43 </hudson.model.BooleanParameterDefinition> |
|
44 <hudson.model.StringParameterDefinition> |
28 <name>RELEASE_ZIP_LOCATION</name> |
45 <name>RELEASE_ZIP_LOCATION</name> |
29 <description>Location of <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a> e.g. |
46 <description>Location of <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a>. |
30 <li>build_BOM.zip |
47 <li>If you're downloading the kit (above), then archives will be stored in this location - and can be reused later |
31 <li>tools_epoc.zip |
48 <li>If you have the kit downloaded already, then this is its location on disk |
32 |
|
33 </description> |
49 </description> |
34 <defaultValue></defaultValue> |
50 <defaultValue></defaultValue> |
35 </hudson.model.StringParameterDefinition> |
51 </hudson.model.StringParameterDefinition> |
|
52 <hudson.model.ChoiceParameterDefinition> |
|
53 <name>SRC_LOCATION</name> |
|
54 <description>How to get source for building the Platform - |
|
55 <li>BOM - download source direct from <a href="https://developer.symbian.org/oss">web</a> using downloaded Bill Of Materials |
|
56 <li>ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description> |
|
57 <choices class="java.util.Arrays$ArrayList"> |
|
58 <a class="string-array"> |
|
59 <string>BOM</string> |
|
60 <string>ZIPFILES</string> |
|
61 </a> |
|
62 </choices> |
|
63 </hudson.model.ChoiceParameterDefinition> |
36 <hudson.model.BooleanParameterDefinition> |
64 <hudson.model.BooleanParameterDefinition> |
37 <name>REBUILD_TOOLS</name> |
65 <name>REBUILD_TOOLS</name> |
38 <description>Tick this if you want to rebuild "TOOLS" target as well |
66 <description>Tick this if you want to rebuild "TOOLS" target as well |
39 <li> Requires comercial VC++ 6.0 installed plus - |
67 <li> Requires comercial VC++ 6.0 installed plus - |
40 <li> Requires binaries_epoc32_stlport.zip from <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a></description> |
68 <li> Requires binaries_epoc32_stlport.zip from <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a></description> |
57 <string>engineering</string> |
85 <string>engineering</string> |
58 <string>western</string> |
86 <string>western</string> |
59 </a> |
87 </a> |
60 </choices> |
88 </choices> |
61 </hudson.model.ChoiceParameterDefinition> |
89 </hudson.model.ChoiceParameterDefinition> |
62 <hudson.model.ChoiceParameterDefinition> |
|
63 <name>SRC_LOCATION</name> |
|
64 <description>How to get src for building the Platform. |
|
65 <li>BOM - download source direct from <a href="https://developer.symbian.org/oss">web</a> using downloaded Bill Of Materials |
|
66 <li>ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk</description> |
|
67 <choices class="java.util.Arrays$ArrayList"> |
|
68 <a class="string-array"> |
|
69 <string>BOM</string> |
|
70 <string>ZIPFILES</string> |
|
71 </a> |
|
72 </choices> |
|
73 </hudson.model.ChoiceParameterDefinition> |
|
74 <hudson.model.BooleanParameterDefinition> |
90 <hudson.model.BooleanParameterDefinition> |
75 <name>LEGACY_BLDMEFIRST</name> |
91 <name>LEGACY_BLDMEFIRST</name> |
76 <description>Tick this if building older Symbian^2 PDKs. e.g. 2.0.d or earlier.</description> |
92 <description>Tick this if building older Symbian^2 PDKs. e.g. 2.0.d or earlier.</description> |
77 <defaultValue>false</defaultValue> |
93 <defaultValue>false</defaultValue> |
78 </hudson.model.BooleanParameterDefinition> |
94 </hudson.model.BooleanParameterDefinition> |
81 <description>Enter your symbian developer web username <i>(required for download of packages from BOM, not needed when using source zip packages)</i></description> |
97 <description>Enter your symbian developer web username <i>(required for download of packages from BOM, not needed when using source zip packages)</i></description> |
82 <defaultValue></defaultValue> |
98 <defaultValue></defaultValue> |
83 </hudson.model.StringParameterDefinition> |
99 </hudson.model.StringParameterDefinition> |
84 <hudson.model.PasswordParameterDefinition> |
100 <hudson.model.PasswordParameterDefinition> |
85 <name>HG_PASSWORD</name> |
101 <name>HG_PASSWORD</name> |
86 <description>Enter your Mercurial symbian developer web password <i>(required for download of packages from BOM, not needed when using source zip packages)</i> |
102 <description>Enter your symbian developer web password <i>(required for any downloading of packages from BOM)</i> |
87 <br></description> |
103 <br> |
|
104 Note: Please be aware that your password will be displayed in <b>cleartext</b> in the top of the console log</description> |
88 <defaultValue></defaultValue> |
105 <defaultValue></defaultValue> |
89 </hudson.model.PasswordParameterDefinition> |
106 </hudson.model.PasswordParameterDefinition> |
90 <hudson.model.ChoiceParameterDefinition> |
107 <hudson.model.ChoiceParameterDefinition> |
91 <name>PLATFORM</name> |
108 <name>PLATFORM</name> |
92 <description></description> |
109 <description></description> |
109 </a> |
126 </a> |
110 </choices> |
127 </choices> |
111 </hudson.model.ChoiceParameterDefinition> |
128 </hudson.model.ChoiceParameterDefinition> |
112 </parameterDefinitions> |
129 </parameterDefinitions> |
113 </hudson.model.ParametersDefinitionProperty> |
130 </hudson.model.ParametersDefinitionProperty> |
|
131 <hudson.plugins.disk__usage.DiskUsageProperty/> |
|
132 <hudson.plugins.descriptionsetter.JobByDescription/> |
114 </properties> |
133 </properties> |
115 <scm class="hudson.scm.NullSCM"/> |
134 <scm class="hudson.scm.NullSCM"/> |
116 <assignedNode>master</assignedNode> |
135 <canRoam>true</canRoam> |
117 <canRoam>false</canRoam> |
|
118 <disabled>false</disabled> |
136 <disabled>false</disabled> |
119 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> |
137 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> |
120 <triggers class="vector"/> |
138 <triggers class="vector"/> |
121 <concurrentBuild>true</concurrentBuild> |
139 <concurrentBuild>true</concurrentBuild> |
122 <builders> |
140 <builders> |
|
141 <hudson.tasks.BatchFile> |
|
142 <command>@ECHO OFF |
|
143 IF "%DOWNLOAD_KIT%"=="false" EXIT 0 |
|
144 IF "%SRC_LOCATION%"=="BOM" SET DO_SRC_DOWNLOAD=--nosrc |
|
145 IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE |
|
146 hg pull --update -R C:\Symbian\utilities |
|
147 GOTO DOWNLOADKIT |
|
148 :CLONE |
|
149 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities |
|
150 :DOWNLOADKIT |
|
151 mkdir %RELEASE_ZIP_LOCATION% |
|
152 cd /d %RELEASE_ZIP_LOCATION% |
|
153 @ECHO ON |
|
154 C:\Symbian\utilities\downloadkit\downloadkit.py --nowinscw --noarmv5 --nounzip --progress %DO_SRC_DOWNLOAD% %KIT_VERSION% --username=%HG_USERNAME% --password=%HG_PASSWORD% |
|
155 exit 0</command> |
|
156 </hudson.tasks.BatchFile> |
123 <hudson.tasks.BatchFile> |
157 <hudson.tasks.BatchFile> |
124 <command>%BUILD_DRIVE% |
158 <command>%BUILD_DRIVE% |
125 cd\ |
159 cd\ |
126 mkdir build_%JOB_NAME%.%BUILD_NUMBER%\tmp |
160 mkdir build_%JOB_NAME%.%BUILD_NUMBER%\tmp |
127 cd build_%JOB_NAME%.%BUILD_NUMBER% |
161 cd build_%JOB_NAME%.%BUILD_NUMBER% |
176 :USERNAME_OK |
210 :USERNAME_OK |
177 IF NOT "%HG_PASSWORD%" == "" GOTO HG_OK |
211 IF NOT "%HG_PASSWORD%" == "" GOTO HG_OK |
178 echo "You must enter a UserName and Password when using the BOM option" |
212 echo "You must enter a UserName and Password when using the BOM option" |
179 exit 1 |
213 exit 1 |
180 :HG_OK |
214 :HG_OK |
181 \tmp\utilities\clone_packages\clone_all_packages.pl -packagelist \build_info\logs\BOM\build-info.xml -username %HG_USERNAME% -password %HG_PASSWORD% -retries=7</command> |
215 perl \tmp\utilities\clone_packages\clone_all_packages.pl -packagelist \build_info\logs\BOM\build-info.xml -username %HG_USERNAME% -password %HG_PASSWORD% -retries=7</command> |
182 </hudson.tasks.BatchFile> |
216 </hudson.tasks.BatchFile> |
183 <hudson.tasks.BatchFile> |
217 <hudson.tasks.BatchFile> |
184 <command>IF %LEGACY_BLDMEFIRST% == true exit |
218 <command>IF %LEGACY_BLDMEFIRST% == true exit |
185 cd %SUBST_DRIVE% |
219 cd %SUBST_DRIVE% |
186 %SUBST_DRIVE% |
220 %SUBST_DRIVE% |
207 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\group\bld.inf |
241 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\group\bld.inf |
208 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\platform_path_definitions_api\group\bld.inf |
242 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\platform_path_definitions_api\group\bld.inf |
209 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\common_platform_security_definitions_api\group\bld.inf |
243 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\common_platform_security_definitions_api\group\bld.inf |
210 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\commonservices\commonengine\group\bld.inf |
244 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\commonservices\commonengine\group\bld.inf |
211 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\mw\web\web_plat\browser_platform_api\group\bld.inf |
245 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\mw\web\web_plat\browser_platform_api\group\bld.inf |
212 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\tools\homescreentools\dtdinstaller\group\bld.inf</command> |
246 cmd /c sbs EXPORT %TARGET% --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\app\homescreentools\dtdinstaller\group\bld.inf</command> |
213 </hudson.tasks.BatchFile> |
247 </hudson.tasks.BatchFile> |
214 <hudson.tasks.BatchFile> |
248 <hudson.tasks.BatchFile> |
215 <command>IF %LEGACY_BLDMEFIRST% == true exit |
249 <command>IF %LEGACY_BLDMEFIRST% == true exit |
216 cd %SUBST_DRIVE% |
250 cd %SUBST_DRIVE% |
217 %SUBST_DRIVE% |
251 %SUBST_DRIVE% |