23 <project name="quality.conflict-checker" xmlns:hlm="http://www.nokia.com/helium"> |
23 <project name="quality.conflict-checker" xmlns:hlm="http://www.nokia.com/helium"> |
24 <description> |
24 <description> |
25 Analyse the content created from two different components. |
25 Analyse the content created from two different components. |
26 </description> |
26 </description> |
27 |
27 |
28 <property name="build.duplicates.log" location="${build.log.dir}/${build.id}_build_duplicates.xml" /> |
28 <property name="build.duplicates.log" location="${temp.build.dir}/${build.id}_build_duplicates.xml" /> |
29 |
29 |
30 <!-- |
30 <!-- |
31 This macro extract the list of files generated/exported several time from different component |
31 This macro extract the list of files generated/exported several time from different component |
32 during the build . It uses the output of "abld -what" commands to extract the information. |
32 during the build . It uses the output of "abld -what" commands to extract the information. |
33 The output is an XML file that can be transform to anything using XSLT of FMPP. |
33 The output is an XML file that can be transform to anything using XSLT of FMPP. |
53 |
53 |
54 <!-- |
54 <!-- |
55 Check if the build duplicated needs to be run. |
55 Check if the build duplicated needs to be run. |
56 --> |
56 --> |
57 <target name="check-build-duplicates"> |
57 <target name="check-build-duplicates"> |
58 <if> |
58 <condition property="skip.build.duplicates" value=""> |
59 <or> |
59 <or> |
60 <equals arg1="${build.system}" arg2="sbs" /> |
60 <equals arg1="${build.system}" arg2="sbs" /> |
61 <equals arg1="${build.system}" arg2="sbs-ec" /> |
61 <equals arg1="${build.system}" arg2="sbs-ec" /> |
62 </or> |
62 </or> |
63 <then> |
63 </condition> |
64 <property name="skip.build.duplicates" value="" /> |
|
65 </then> |
|
66 </if> |
|
67 </target> |
64 </target> |
68 |
65 |
69 <!-- Parse all the build log and extract files that are generated/exported |
66 <!-- Parse all the build log and extract files that are generated/exported |
70 several times. |
67 several times. |
71 --> |
68 --> |
72 <target name="integration-build-duplicates" depends="check-build-duplicates" unless="skip.build.duplicates"> |
69 <target name="integration-build-duplicates" depends="check-build-duplicates" unless="skip.build.duplicates"> |
73 <hlm:checkBuildDuplicatesMacro output="${build.duplicates.log}"> |
70 <hlm:checkBuildDuplicatesMacro output="${build.duplicates.log}"> |
74 <fileset dir="${build.log.dir}"> |
71 <fileset dir="${compile.log.dir}"> |
75 <include name="${build.id}.*_compile.log" /> |
72 <include name="${build.id}.*_compile.log" /> |
76 <include name="${build.id}.what.cmaker.log" /> |
73 <include name="${build.id}.what.cmaker.log" /> |
77 <exclude name="${build.id}.*_output_build.log" /> |
74 <exclude name="${build.id}.*_output_build.log" /> |
78 </fileset> |
75 </fileset> |
79 </hlm:checkBuildDuplicatesMacro> |
76 </hlm:checkBuildDuplicatesMacro> |