|
1 <?xml version='1.0' encoding='UTF-8'?> |
|
2 <project> |
|
3 <actions/> |
|
4 <description><img align="center" src="http://developer.symbian.org/img/skin1209/header_bg.gif" />
 |
|
5 <h3>Description</h3>
 |
|
6 <p>
 |
|
7 This project will download a Symbian Kit based upon the revision provided. It makes use of the <a href="http://developer.symbian.org/wiki/index.php/How_to_download_a_PDK">downloadkit.py</a> tool to download the kit into a target location that you've specified.
 |
|
8 </p> 
 |
|
9 
 |
|
10 <h3>Prerequisites</h3>
 |
|
11 The following tools must already be installed and in your PATH -
 |
|
12 <br><br>
 |
|
13 <li><a href="http://www.activestate.com/activepython/downloads/">Python</a> 2.63 or later
 |
|
14 <li><a href="http://mercurial.selenic.com/ Mercurial">Mercurial</a>
 |
|
15 <li><a href="http://www.7-zip.org/">7zip</a>
 |
|
16 </description> |
|
17 <keepDependencies>false</keepDependencies> |
|
18 <properties> |
|
19 <hudson.model.ParametersDefinitionProperty> |
|
20 <parameterDefinitions> |
|
21 <hudson.model.StringParameterDefinition> |
|
22 <name>DOWNLOAD_TO</name> |
|
23 <description>The directory to download the kit zipfiles to</description> |
|
24 <defaultValue>C:\PDK</defaultValue> |
|
25 </hudson.model.StringParameterDefinition> |
|
26 <hudson.model.StringParameterDefinition> |
|
27 <name>VERSION</name> |
|
28 <description>Label of version to download e.g. |
|
29 <li>2.0.2 |
|
30 <li>3.0.h</description> |
|
31 <defaultValue></defaultValue> |
|
32 </hudson.model.StringParameterDefinition> |
|
33 <hudson.model.BooleanParameterDefinition> |
|
34 <name>NO_SRC</name> |
|
35 <description>Don't download any of the source code available directly from Mercurial</description> |
|
36 <defaultValue>false</defaultValue> |
|
37 </hudson.model.BooleanParameterDefinition> |
|
38 <hudson.model.BooleanParameterDefinition> |
|
39 <name>NO_WINSCW</name> |
|
40 <description>Don't download the winscw emulator</description> |
|
41 <defaultValue>false</defaultValue> |
|
42 </hudson.model.BooleanParameterDefinition> |
|
43 <hudson.model.BooleanParameterDefinition> |
|
44 <name>NO_UNZIP</name> |
|
45 <description>Just download, don't unzip or delete any files</description> |
|
46 <defaultValue>false</defaultValue> |
|
47 </hudson.model.BooleanParameterDefinition> |
|
48 <hudson.model.BooleanParameterDefinition> |
|
49 <name>NO_DELETE</name> |
|
50 <description>Do not delete files after unzipping</description> |
|
51 <defaultValue>true</defaultValue> |
|
52 </hudson.model.BooleanParameterDefinition> |
|
53 <hudson.model.StringParameterDefinition> |
|
54 <name>USERNAME</name> |
|
55 <description>Enter your Symbian developer web user name</description> |
|
56 <defaultValue></defaultValue> |
|
57 </hudson.model.StringParameterDefinition> |
|
58 <hudson.model.PasswordParameterDefinition> |
|
59 <name>PASSWORD</name> |
|
60 <description>Enter your Symbian developer web password</description> |
|
61 <defaultValue></defaultValue> |
|
62 </hudson.model.PasswordParameterDefinition> |
|
63 </parameterDefinitions> |
|
64 </hudson.model.ParametersDefinitionProperty> |
|
65 </properties> |
|
66 <scm class="hudson.scm.NullSCM"/> |
|
67 <canRoam>true</canRoam> |
|
68 <disabled>false</disabled> |
|
69 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> |
|
70 <triggers class="vector"/> |
|
71 <concurrentBuild>true</concurrentBuild> |
|
72 <builders> |
|
73 <hudson.tasks.BatchFile> |
|
74 <command>@ECHO OFF |
|
75 IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE |
|
76 hg pull --update -R C:\Symbian\utilities |
|
77 GOTO DOWNLOADKIT |
|
78 :CLONE |
|
79 hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities |
|
80 :DOWNLOADKIT |
|
81 |
|
82 mkdir %DOWNLOAD_TO%\%VERSION% |
|
83 cd /d %DOWNLOAD_TO%\%VERSION% |
|
84 IF "%NO_SRC%"=="true" ( SET NO_SRC=--nosrc) ELSE (SET NO_SRC=) |
|
85 IF "%NO_WINSCW%"=="true" ( SET NO_WINSCW=--nowinscw) ELSE (SET NO_WINSCW=) |
|
86 IF "%NO_UNZIP%"=="true" ( SET NO_UNZIP=--nounzip) ELSE (SET NO_UNZIP=) |
|
87 IF "%NO_DELETE%"=="true" ( SET NO_DELETE=--nodelete) ELSE (SET NO_DELETE=) |
|
88 @ECHO ON |
|
89 |
|
90 C:\Symbian\utilities\downloadkit\downloadkit.py %NO_UNZIP% %NO_SRC% %NO_WINSCW% %NO_DELETE% %VERSION% --username=%USERNAME% --password=%PASSWORD% |
|
91 exit 0</command> |
|
92 </hudson.tasks.BatchFile> |
|
93 </builders> |
|
94 <publishers/> |
|
95 <buildWrappers/> |
|
96 <customWorkspace>D:\</customWorkspace> |
|
97 </project> |