Changed regular expressions and temp files to be more agnostic about build ID conventions.
authorSimon Howkins <simonh@symbian.org>
Mon, 24 Aug 2009 15:09:22 +0100
changeset 373 cc469b3fe547
parent 372 ea854a4b723d
child 379 1d777b8357df
child 383 52675b624b66
Changed regular expressions and temp files to be more agnostic about build ID conventions.
common/build.postbuild.xml
--- a/common/build.postbuild.xml	Mon Aug 24 11:17:40 2009 +0100
+++ b/common/build.postbuild.xml	Mon Aug 24 15:09:22 2009 +0100
@@ -301,7 +301,7 @@
           </fileset>
         </path>
         <sequential>
-          <propertyregex override="yes" property="preprocessedlogfile" input="@{logfile}" regexp=".*[\\|\/].*\.T?\d+_+(.*)_compile\.log" replace="\1_compile_preprocessed.log"/>
+		<propertyregex override="yes" property="preprocessedlogfile" input="@{logfile}" regexp=".*[\\/](.*)_compile\.log" replace="\1_compile_preprocessed.log"/>
 	        <echo message="Preprocessing @{logfile}..."/>
           <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" input="@{logfile}" output="${build.log.dir}/analysis/${preprocessedlogfile}" error="${build.log.dir}/analysis/${build.id}_preprocess.log" append="true">
             <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/>