# HG changeset patch # User Shabe Razvi # Date 1268676335 0 # Node ID d14e8ee6e64a41bfa7eba4bd0846fd701c57280e # Parent 0b38a15ba03b6201ec6063e4b58f379d35c4e26d Add job to allow download of a PDK over the web. diff -r 0b38a15ba03b -r d14e8ee6e64a DownloadKit/config.xml --- /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 @@ + + + + <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> + + false + + + + + DOWNLOAD_TO + The directory to download the kit zipfiles to + C:\PDK + + + VERSION + Label of version to download e.g. +<li>2.0.2 +<li>3.0.h + + + + NO_SRC + Don't download any of the source code available directly from Mercurial + false + + + NO_WINSCW + Don't download the winscw emulator + false + + + NO_UNZIP + Just download, don't unzip or delete any files + false + + + NO_DELETE + Do not delete files after unzipping + true + + + USERNAME + Enter your Symbian developer web user name + + + + PASSWORD + Enter your Symbian developer web password + + + + + + + true + false + false + + true + + + @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 + + + + + D:\ + \ No newline at end of file