common/build.xml
changeset 60 9edae8fe1416
parent 58 00208f982d58
child 61 54444a2ae2db
equal deleted inserted replaced
59:c7be4c65f97e 60:9edae8fe1416
   112         <property name="temp.log.zip" value="${env.TEMP}/build_logs_${sf.spec.job.name}_${build.number}.zip"/>
   112         <property name="temp.log.zip" value="${env.TEMP}/build_logs_${sf.spec.job.name}_${build.number}.zip"/>
   113         <zip destfile="${temp.log.zip}" basedir="${build.log.dir}"/>
   113         <zip destfile="${temp.log.zip}" basedir="${build.log.dir}"/>
   114         <move file="${temp.log.zip}" todir="${build.log.dir}" failonerror="false"/>		
   114         <move file="${temp.log.zip}" todir="${build.log.dir}" failonerror="false"/>		
   115     </target>
   115     </target>
   116 	
   116 	
       
   117 	<!-- generate dir list using passed location and name 
       
   118 	if a baseline list is available then generate deltas too -->
       
   119 	
       
   120 	<target name="sf-list-dir">
       
   121 		<property name="sf.currentlist.name" value="${sf.list.name}"/>
       
   122 		<property name="sf.dir.location" value="${build.drive}/epoc32"/> 
       
   123     
       
   124 		<exec executable="perl" dir="${build.log.dir}/" failonerror="true" output="${build.log.dir}/listdir_${build.id}_${sf.currentlist.name}.log">
       
   125 			<arg value="${sf.common.config.dir}/tools/listdir.pl"/>
       
   126 			<arg value="${sf.dir.location}"/>
       
   127 		</exec>
       
   128 		
       
   129 		<if><available file="${build.log.dir}/listdir_${build.id}_baseline.log"/>
       
   130 		<then>
       
   131 			<exec executable="perl" dir="${build.log.dir}/" failonerror="true" output="${build.log.dir}/listdir_${build.id}_${sf.currentlist.name}_delta.log">
       
   132 				<arg value="${sf.common.config.dir}/tools/difflist.pl"/>
       
   133 				<arg value="${build.log.dir}/listdir_${build.id}_baseline.log"/>
       
   134 				<arg value="${build.log.dir}/listdir_${build.id}_${sf.currentlist.name}.log"/>
       
   135 			</exec>
       
   136 		</then>
       
   137 		</if>
       
   138 	</target>
   117 	
   139 	
   118     <target name="sf-build-noprep" depends="sf-compile">
   140     <target name="sf-build-noprep" depends="sf-compile">
   119         <echo>[SF-BUILD-NOPREP]</echo>
   141         <echo>[SF-BUILD-NOPREP]</echo>
   120     </target>
   142     </target>
   121     
   143