common/tools/mergeepoc32.pl
author Simon Howkins <simonh@symbian.org>
Tue, 26 May 2009 12:42:51 +0100
changeset 108 d33d43677cdf
parent 81 5e724ff842b4
permissions -rw-r--r--
Added license header

#!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:");
}