common/tools/mergeepoc32.pl
changeset 192 d5964b46ccaf
parent 108 d33d43677cdf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/mergeepoc32.pl	Fri May 29 17:20:47 2009 +0100
@@ -0,0 +1,26 @@
+#!perl -w
+# Copyright (c) 2009 Symbian Foundation Ltd
+# This component and the accompanying materials are made available
+# under the terms of the License "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Symbian Foundation Ltd - initial contribution.
+# 
+# Contributors:
+#
+# Description:
+# Merges binaries from RnD repositories into the epoc32 tree used for the build
+
+use strict;
+
+# Assume that all rnd repositories are delivered onto the build machine in \rnd\category\name\epoc32\...
+
+my @rndRepositories = glob "/rnd/*/*";
+foreach (@rndRepositories)
+{
+	s{/}{\\}g;
+	system("xcopy /Q/C/I/Y/E $_\\epoc32 \\epoc32 > nul:");
+}
+