author | Shabe Razvi <shaber@symbian.org> |
Mon, 15 Mar 2010 18:05:35 +0000 | |
changeset 16 | d14e8ee6e64a |
permissions | -rw-r--r-- |
16
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
2 |
<project> |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
3 |
<actions/> |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
4 |
<description><img align="center" src="http://developer.symbian.org/img/skin1209/header_bg.gif" />
 |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
5 |
<h3>Description</h3>
 |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
6 |
<p>
 |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
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.
 |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
8 |
</p> 
 |
d14e8ee6e64a
Add job to allow download of a PDK over the web.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
9 |

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