common/build.postbuild.xml
changeset 577 424a5ad9bc7d
parent 573 02a549e2960d
child 589 a18cdecf36b3
equal deleted inserted replaced
576:7be9799d1a41 577:424a5ad9bc7d
   294         </exec>
   294         </exec>
   295     </target>
   295     </target>
   296 
   296 
   297     <target name="sf-run-analysis-raptor">            
   297     <target name="sf-run-analysis-raptor">            
   298       <echo message="Preprocessing *_compile.log files"/>
   298       <echo message="Preprocessing *_compile.log files"/>
       
   299       <delete file="${build.log.dir}/analysis/${build.id}_preprocess.log"/>
   299       <for param="logfile">
   300       <for param="logfile">
   300         <path>
   301         <path>
   301           <fileset dir="${build.log.dir}">
   302           <fileset dir="${build.log.dir}">
   302             <include name="*_compile.log"/>
   303             <include name="*_compile.log"/>
   303             <exclude name="*build_check_compile.log"/>
   304             <exclude name="*build_check_compile.log"/>
   304           </fileset>
   305           </fileset>
   305         </path>
   306         </path>
   306         <sequential>
   307         <sequential>
   307           <propertyregex override="yes" property="preprocessedlogfile" input="@{logfile}" regexp=".*[\\/](.*)_compile\.log" replace="\1_compile_preprocessed.log"/>
   308           <propertyregex override="yes" property="preprocessedlogfile" input="@{logfile}" regexp=".*[\\/](.*)_compile\.log" replace="\1_compile_preprocessed.log"/>
   308           <echo message="Preprocessing @{logfile}..."/>
   309           <echo message="Preprocessing @{logfile}..."/>
   309           <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">
   310           <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" input="@{logfile}" output="${build.log.dir}/analysis/${preprocessedlogfile}" errorProperty="@{logfile}" >
   310             <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/>
   311             <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/>
   311           </exec>
   312           </exec>
       
   313 	  <echo file="${build.log.dir}/analysis/${build.id}_preprocess.log" append="true" message="${@{logfile}}${line.separator}"/>
   312         </sequential>
   314         </sequential>
   313       </for>
   315       </for>
   314       
   316       
   315       <echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/>
   317       <echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/>
   316       <for param="whatlogfile">
   318       <for param="whatlogfile">