common/build.xml
changeset 93 27826401fee5
parent 92 14d4d6666204
child 97 4f54ca96b7e8
--- 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>