Exclude .hg repositories from epoc32 merge
authorShabe Razvi <shaber@symbian.org>
Wed, 13 May 2009 13:50:18 +0100
changeset 93 27826401fee5
parent 92 14d4d6666204
child 95 fb924d87bc0c
child 97 4f54ca96b7e8
Exclude .hg repositories from epoc32 merge
common/build.xml
--- a/common/build.xml	Tue May 12 17:12:39 2009 +0100
+++ b/common/build.xml	Wed May 13 13:50:18 2009 +0100
@@ -406,8 +406,12 @@
         <then>
         <echo message="RnD binaries found, fast-copying into ${build.drive}/epoc32 tree"/>
         <hlm:fastcopy todir="${build.drive}/epoc32" verbose="true" overwrite="true" threadCount="4">
-            <fileset dir="${build.drive}/rnd"/>
-            <regexpmapper from="^(.*)/(.*)/epoc32/(.*)" to="\3" handledirsep="true"/>
+            <fileset dir="${build.drive}/rnd">
+            <exclude name="**/.hg/**"/>
+            </fileset>
+            <regexpmapper from="internal/initial/epoc32/(.*)" to="\1" handledirsep="true"/>
+            <!--regexpmapper from="[^/]+/[^/]+/epoc32/(.*)" to="\1" handledirsep="true"/-->
+            <!-- TODO make match exactly 2 levels deep otherwise nested epoc32 trees will also be merged -->
         </hlm:fastcopy>
         </then>
     </if>