sf-tools/build.xml
changeset 1011 ed6bac1beacb
parent 1010 0630eeca6d07
child 1012 d1cef5ea6d99
equal deleted inserted replaced
1010:0630eeca6d07 1011:ed6bac1beacb
    99         <arg value="-x!sf"/>
    99         <arg value="-x!sf"/>
   100         <arg value="${build.drive}/output/zips/release/binaries_${sf.spec.job.name}.zip"/>
   100         <arg value="${build.drive}/output/zips/release/binaries_${sf.spec.job.name}.zip"/>
   101         <arg value="epoc32\"/>
   101         <arg value="epoc32\"/>
   102     </exec>
   102     </exec>
   103 
   103 
   104 	<!--  create a manifest. Currently just list of all files in the archive -->
   104     <!--  create a manifest in the root of the build drive -->
   105     <exec executable="7z" dir="${build.drive}" output="${build.log.dir}/manifest_${build.id}_binaries_${sf.spec.job.name}.log">
   105     <exec executable="perl" dir="${build.drive}" output="${build.log.dir}/manifest_binaries_${sf.spec.job.name}.txt">
   106         <arg value="l"/>
   106         <arg value="${sf.common.config.dir}/tools/7z_list_to_manifest.pl"/>
   107         <arg value="${build.drive}/output/zips/release/binaries_${sf.spec.job.name}.zip"/>
   107         <arg value="${build.drive}/output/zips/release/binaries_${sf.spec.job.name}.zip"/>
   108 	</exec>
   108         <arg value="-z"/>
       
   109     </exec>
       
   110 
       
   111     <!--  add manifest to zip and update release meta data -->
       
   112     <exec executable="7z" dir="${build.drive}">
       
   113         <arg value="a"/>
       
   114         <arg value="-t${sf.spec.package.zip.format}"/>
       
   115         <arg value="${build.drive}/output/zips/release/binaries_${sf.spec.job.name}.zip"/>
       
   116         <arg value="${build.log.dir}/manifest_binaries_${sf.spec.job.name}.txt"/>
       
   117     </exec>
   109 
   118 
   110     <antcall target="sf-zip-content">
   119     <antcall target="sf-zip-content">
   111         <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   120         <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   112         <param name="zip.target.name" value="bin-${sf.spec.job.name}-metadata" />
   121         <param name="zip.target.name" value="bin-${sf.spec.job.name}-metadata" />
   113     </antcall>
   122     </antcall>
   114 
       
   115  </target>
   123  </target>
   116  
   124  
   117   <target name="create-canonical-sysdef-file">
   125   <target name="create-canonical-sysdef-file">
   118      <copy file="${sf.spec.systemdefinition.location}" tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
   126      <copy file="${sf.spec.systemdefinition.location}" tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
   119   </target>
   127   </target>
   120 
   128 
   121  <!-- do nothing for these in a tools build -->
   129  <!-- do nothing for this in a tools build -->
   122  <target name="sf-run-analysis"/>
       
   123  <target name="sf-copy-rom-logs"/>
   130  <target name="sf-copy-rom-logs"/>
   124     
   131     
   125 </project>
   132 </project>
   126 
   133