76 <target name="sf-bc-check"> |
76 <target name="sf-bc-check"> |
77 <!-- create BC dir --> |
77 <!-- create BC dir --> |
78 <mkdir dir="${build.log.dir}/BC"/> |
78 <mkdir dir="${build.log.dir}/BC"/> |
79 |
79 |
80 <delete file="${build.log.dir}/BC/bc.config" quiet="true"/> |
80 <delete file="${build.log.dir}/BC/bc.config" quiet="true"/> |
|
81 <delete file="${build.log.dir}/BC/BBCResults.xsl" quiet="true"/> |
|
82 <delete file="${build.log.dir}/BC/libraries.txt" quiet="true"/> |
|
83 <delete file="${build.log.dir}/BC/libraries_report.xml" quiet="true"/> |
|
84 <delete file="${build.log.dir}/BC/headers.txt" quiet="true"/> |
|
85 <delete file="${build.log.dir}/BC/headers_report.xml" quiet="true"/> |
|
86 |
81 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
87 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
82 <arg value="/c"/> |
88 <arg value="/c"/> |
83 <arg value="echo"/> |
89 <arg value="echo"/> |
84 <arg value="BASELINE_NAME=${sf.spec.bccheck.baseline.name}"/> |
90 <arg value="BASELINE_NAME=${sf.spec.bccheck.baseline.name}"/> |
85 </exec> |
91 </exec> |
107 <arg value="/c"/> |
113 <arg value="/c"/> |
108 <arg value="echo"/> |
114 <arg value="echo"/> |
109 <arg value="CURRENT_SDK_S60_VERSION=${sf.spec.bccheck.current.s60.version}"/> |
115 <arg value="CURRENT_SDK_S60_VERSION=${sf.spec.bccheck.current.s60.version}"/> |
110 </exec> |
116 </exec> |
111 |
117 |
112 <delete file="${build.log.dir}/BC/libraries.txt" quiet="true"/> |
118 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/BBCResults.xsl" tofile="${build.log.dir}/BC/BBCResults.xsl" failonerror="true" verbose="true"/> |
113 <exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/libraries.txt"> |
119 |
114 <arg value="CheckBC.py"/> |
120 <if><istrue value="${sf.spec.bccheck.enable.la}"/> |
115 <arg value="${build.log.dir}/BC/bc.config"/> |
121 <then> |
116 <arg value="-la"/> |
122 <exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/libraries.txt"> |
117 <arg value="-f"/> |
123 <arg value="CheckBC.py"/> |
118 <arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
124 <arg value="${build.log.dir}/BC/bc.config"/> |
119 </exec> |
125 <arg value="-la"/> |
120 <delete file="${build.log.dir}/BC/libraries_report.xml" quiet="true"/> |
126 <arg value="-f"/> |
121 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Libraries_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}" tofile="${build.log.dir}/BC/libraries_report.xml" failonerror="true" verbose="true"/> |
127 <arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
122 |
128 </exec> |
123 <delete file="${build.log.dir}/BC/headers.txt" quiet="true"/> |
129 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Libraries_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}.xml" tofile="${build.log.dir}/BC/libraries_report.xml" failonerror="true" verbose="true"/> |
124 <exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/headers.txt"> |
130 </then> |
125 <arg value="CheckBC.py"/> |
131 </if> |
126 <arg value="${build.log.dir}/BC/bc.config"/> |
132 |
127 <arg value="-ha"/> |
133 <if><istrue value="${sf.spec.bccheck.enable.ha}"/> |
128 <arg value="-f"/> |
134 <then> |
129 <arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
135 <exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/headers.txt"> |
130 </exec> |
136 <arg value="CheckBC.py"/> |
131 <delete file="${build.log.dir}/BC/headers_report.xml" quiet="true"/> |
137 <arg value="${build.log.dir}/BC/bc.config"/> |
132 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Headers_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}" tofile="${build.log.dir}/BC/headers_report.xml" failonerror="true" verbose="true"/> |
138 <arg value="-ha"/> |
|
139 <arg value="-f"/> |
|
140 <arg value="${sf.spec.bccheck.reportid}${sf.spec.job.number}"/> |
|
141 </exec> |
|
142 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Headers_CompatibilityReport_${sf.spec.bccheck.reportid}${sf.spec.job.number}.xml" tofile="${build.log.dir}/BC/headers_report.xml" failonerror="true" verbose="true"/> |
|
143 </then> |
|
144 </if> |
133 </target> |
145 </target> |
134 |
146 |
135 <target name="sf-prebuild"> |
147 <target name="sf-prebuild"> |
136 <echo>[SF-PREBUILD]</echo> |
148 <echo>[SF-PREBUILD]</echo> |
137 |
149 |