Add job to allow download of a PDK over the web.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DownloadKit/config.xml Mon Mar 15 18:05:35 2010 +0000
@@ -0,0 +1,97 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <actions/>
+ <description><img align="center" src="http://developer.symbian.org/img/skin1209/header_bg.gif" />
+<h3>Description</h3>
+<p>
+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.
+</p> 
+
+<h3>Prerequisites</h3>
+The following tools must already be installed and in your PATH -
+<br><br>
+<li><a href="http://www.activestate.com/activepython/downloads/">Python</a> 2.63 or later
+<li><a href="http://mercurial.selenic.com/ Mercurial">Mercurial</a>
+<li><a href="http://www.7-zip.org/">7zip</a>
+</description>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.StringParameterDefinition>
+ <name>DOWNLOAD_TO</name>
+ <description>The directory to download the kit zipfiles to</description>
+ <defaultValue>C:\PDK</defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>VERSION</name>
+ <description>Label of version to download e.g.
+<li>2.0.2
+<li>3.0.h</description>
+ <defaultValue></defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.BooleanParameterDefinition>
+ <name>NO_SRC</name>
+ <description>Don't download any of the source code available directly from Mercurial</description>
+ <defaultValue>false</defaultValue>
+ </hudson.model.BooleanParameterDefinition>
+ <hudson.model.BooleanParameterDefinition>
+ <name>NO_WINSCW</name>
+ <description>Don't download the winscw emulator</description>
+ <defaultValue>false</defaultValue>
+ </hudson.model.BooleanParameterDefinition>
+ <hudson.model.BooleanParameterDefinition>
+ <name>NO_UNZIP</name>
+ <description>Just download, don't unzip or delete any files</description>
+ <defaultValue>false</defaultValue>
+ </hudson.model.BooleanParameterDefinition>
+ <hudson.model.BooleanParameterDefinition>
+ <name>NO_DELETE</name>
+ <description>Do not delete files after unzipping</description>
+ <defaultValue>true</defaultValue>
+ </hudson.model.BooleanParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>USERNAME</name>
+ <description>Enter your Symbian developer web user name</description>
+ <defaultValue></defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.PasswordParameterDefinition>
+ <name>PASSWORD</name>
+ <description>Enter your Symbian developer web password</description>
+ <defaultValue></defaultValue>
+ </hudson.model.PasswordParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ </properties>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <triggers class="vector"/>
+ <concurrentBuild>true</concurrentBuild>
+ <builders>
+ <hudson.tasks.BatchFile>
+ <command>@ECHO OFF
+IF NOT EXIST C:\Symbian\utilities\.hg GOTO CLONE
+hg pull --update -R C:\Symbian\utilities
+GOTO DOWNLOADKIT
+:CLONE
+hg clone https://developer.symbian.org/oss/MCL/utilities/ C:\Symbian\utilities
+:DOWNLOADKIT
+
+mkdir %DOWNLOAD_TO%\%VERSION%
+cd /d %DOWNLOAD_TO%\%VERSION%
+IF "%NO_SRC%"=="true" ( SET NO_SRC=--nosrc) ELSE (SET NO_SRC=)
+IF "%NO_WINSCW%"=="true" ( SET NO_WINSCW=--nowinscw) ELSE (SET NO_WINSCW=)
+IF "%NO_UNZIP%"=="true" ( SET NO_UNZIP=--nounzip) ELSE (SET NO_UNZIP=)
+IF "%NO_DELETE%"=="true" ( SET NO_DELETE=--nodelete) ELSE (SET NO_DELETE=)
+@ECHO ON
+
+C:\Symbian\utilities\downloadkit\downloadkit.py %NO_UNZIP% %NO_SRC% %NO_WINSCW% %NO_DELETE% %VERSION% --username=%USERNAME% --password=%PASSWORD%
+exit 0</command>
+ </hudson.tasks.BatchFile>
+ </builders>
+ <publishers/>
+ <buildWrappers/>
+ <customWorkspace>D:\</customWorkspace>
+</project>
\ No newline at end of file