Added RnD binaries support in PRE-BUILD stage.
--- a/common/build.xml Fri May 01 14:06:09 2009 +0100
+++ b/common/build.xml Fri May 01 15:07:37 2009 +0100
@@ -148,6 +148,12 @@
<runtarget target="sf-package-source"/>
</then>
</if>
+
+ <!-- merge RnD binaries into the epoc tree -->
+ <echo message="Merges RnD binaries into the Epoc tree"/>
+ <exec executable="perl" dir="${build.drive}/" failonerror="true" output="${build.log.dir}/mergeepoc32.log">
+ <arg value="${sf.common.config.dir}/tools/mergeepoc32.pl"/>
+ </exec>
</then>
</if>
<if>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/mergeepoc32.pl Fri May 01 15:07:37 2009 +0100
@@ -0,0 +1,12 @@
+#!perl -w
+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:");
+}
+