896 <exclude name="output/logs/deliverables/**"/> |
896 <exclude name="output/logs/deliverables/**"/> |
897 <exclude name="output/logs/releaseables/**"/> |
897 <exclude name="output/logs/releaseables/**"/> |
898 </zip> |
898 </zip> |
899 <!-- workaround for the time when when 'sf-run-analysis-raptor' has not been run --> |
899 <!-- workaround for the time when when 'sf-run-analysis-raptor' has not been run --> |
900 <mkdir dir="${build.drive}/output/logs/releaseables"/> |
900 <mkdir dir="${build.drive}/output/logs/releaseables"/> |
901 <if> |
901 <if> |
902 <available file="${build.drive}/output/logs/package_definitions" type="dir"/> |
902 <available file="${build.drive}/output/logs/package_definitions" type="dir"/> |
903 <then> |
903 <then> |
904 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
904 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
905 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
905 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
906 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
906 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
907 <zipfileset dir="${build.drive}/output/logs" prefix="build_info/logs/BOM"> |
907 <zipfileset dir="${build.drive}/output/logs" prefix="build_info/logs/BOM"> |
908 <include name="envinfo.txt"/> |
908 <include name="envinfo.txt"/> |
909 </zipfileset> |
909 </zipfileset> |
910 <zipfileset dir="${build.drive}/output/logs/package_definitions" prefix="build_info/package_definitions"/> |
910 <zipfileset dir="${build.drive}/output/logs/package_definitions" prefix="build_info/package_definitions"/> |
911 </zip> |
911 </zip> |
912 </then> |
912 </then> |
913 <else> |
913 <else> |
914 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
914 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
915 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
915 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
916 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
916 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
917 <zipfileset dir="${build.drive}/output/logs" prefix="build_info/logs/BOM"> |
917 <zipfileset dir="${build.drive}/output/logs" prefix="build_info/logs/BOM"> |
918 <include name="envinfo.txt"/> |
918 <include name="envinfo.txt"/> |
919 </zipfileset> |
919 </zipfileset> |
920 </zip> |
920 </zip> |
921 </else> |
921 </else> |
922 </if> |
922 </if> |
923 <antcall target="sf-zip-content"> |
923 <antcall target="sf-zip-content"> |
924 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
924 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
925 <param name="zip.target.name" value="info-just-metadata" /> |
925 <param name="zip.target.name" value="info-just-metadata" /> |
926 </antcall> |
926 </antcall> |
927 </then> |
927 </then> |
1066 <fileset dir="${sf.rombuild.dir}/${sf.spec.referenceroms.variant}/"><include name="*rom.oby"/></fileset> |
1066 <fileset dir="${sf.rombuild.dir}/${sf.spec.referenceroms.variant}/"><include name="*rom.oby"/></fileset> |
1067 </copy> |
1067 </copy> |
1068 </target> |
1068 </target> |
1069 |
1069 |
1070 <target name="sf-build-roms"> |
1070 <target name="sf-build-roms"> |
1071 <if> |
1071 <!-- find out if this is an arm build, if it is, then build roms --> |
1072 <istrue value="${sf.spec.referenceroms.createimages.enable}" /> |
1072 <propertyregex property="sf.is.arm.build" override="true" input="${sf.spec.sbs.config}" regexp="(arm.*)" replace="true" casesensitive="false"/> |
1073 <then> |
1073 |
1074 <echo message="INFO Building iMaker configurations"/> |
1074 <if><isset property="sf.is.arm.build"/> |
1075 <runtarget target="build-roms"/> |
1075 <then> |
1076 </then> |
1076 <mkdir dir="${roms.log.dir}"/> |
1077 </if> |
1077 <echo message="INFO Building Syborg MiniGUI stripped ROM"/> |
|
1078 <exec executable="cmd" dir="${build.drive}/epoc32/rom" failonerror="false"> |
|
1079 <arg value="/c"/> |
|
1080 <arg value="buildrom syborg minigui-stripped"/> |
|
1081 </exec> |
|
1082 <if> |
|
1083 <!-- is iMaker rom building enabled? --> |
|
1084 <istrue value="${sf.spec.referenceroms.createimages.enable}" /> |
|
1085 <then> |
|
1086 <echo message="INFO Building iMaker configurations"/> |
|
1087 <runtarget target="build-roms"/> |
|
1088 </then> |
|
1089 </if> |
|
1090 </then> |
|
1091 </if> |
1078 </target> |
1092 </target> |
1079 |
1093 |
1080 <!-- Transform BRAG xslt and display status at the end of the build --> |
1094 <!-- Transform BRAG xslt and display status at the end of the build --> |
1081 <target name="sf-build-summary"> |
1095 <target name="sf-build-summary"> |
1082 <delete dir="${build.drive}/output/logs/summary/"> |
1096 <delete dir="${build.drive}/output/logs/summary/"> |
1083 <include name="**/*.html"/> |
1097 <include name="**/*.html"/> |
1084 </delete> |
1098 </delete> |
1085 <xslt basedir="${build.drive}/output/logs/summary" destdir="${temp.build.dir}" extension=".html" style="brag.xsl"/> |
1099 <xslt basedir="${build.drive}/output/logs/summary" destdir="${temp.build.dir}" extension=".html" style="brag.xsl"/> |
1086 <loadfile srcFile="${temp.build.dir}/_BRAG.html" property="sf.brag.status"> |
1100 <loadfile srcFile="${temp.build.dir}/_BRAG.html" property="sf.brag.status"> |
1087 <filterchain> |
1101 <filterchain> |
1088 <linecontainsregexp> |
1102 <linecontainsregexp> |
1089 <regexp pattern="(BLACK|RED|AMBER|GREEN)"/> |
1103 <regexp pattern="(BLACK|RED|AMBER|GREEN)"/> |
1090 </linecontainsregexp> |
1104 </linecontainsregexp> |
1091 <trim/> |
1105 <trim/> |
1092 <striplinebreaks/> |
1106 <striplinebreaks/> |
1093 <deletecharacters chars="\>\<\h2\h1\/"/> |
1107 <deletecharacters chars="\>\<\h2\h1\/"/> |
1094 </filterchain> |
1108 </filterchain> |
1095 </loadfile> |
1109 </loadfile> |
1096 <echo message="BRAG STATUS: [${sf.brag.status}] - full build details available at ${build.drive}\output\logs\summary\_BRAG.xml"/> |
1110 <echo message="BRAG STATUS: [${sf.brag.status}] - full build details available at ${build.drive}\output\logs\summary\_BRAG.xml"/> |
1097 |
1111 |
1098 <!-- record brag information in BIT file --> |
1112 <!-- record brag information in BIT file --> |
1099 <echo message="build_brag	${sf.brag.status}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
1113 <echo message="build_brag	${sf.brag.status}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
1100 </target> |
1114 </target> |
1101 |
1115 |
1102 </project> |
1116 </project> |