|
Helium API | ||||||
| prev next | frames no frames | ||||||
Location
d:\maintools\sf-config\common\build.postbuild.xml:560:
Conditional execution
Target is run if property defined: sf-utilities-available
| Name |
|---|
| perl |
| perl |
| Name | Edit status |
|---|---|
| User editable properties | |
| build.drive | recommended |
| Internal properties | |
| build.log.dir | discouraged |
<target name="sf-compare-to-baseline" depends="sf-diamondize-bom,sf-check-utilities-dir" if="sf-utilities-available">
<property name="sf.releasenotes.wiki.txt" value="${build.log.dir}/releaseNotes.wiki.txt"/>
<delete file="${sf.releasenotes.wiki.txt}"/>
<!-- FCL usage -->
<exec executable="perl" dir="${build.drive}/utilities/releaseAutomation/" output="${build.log.dir}/fcls4releasenotes.log">
<arg value="${build.drive}/utilities/releaseAutomation/fcls4releasenotes.pl"/>
<arg value="--pdkname1=${sf.previous.pdk.tag}"/>
<arg value="--pdkloc2=${build.log.dir}"/>
</exec>
<!-- Mercurial comparison -->
<echo file="${sf.releasenotes.wiki.txt}" append="true">== Mercurial Comparison ==${line.separator}${line.separator}</echo>
<if>
<isset property="sf.previous.pdk.tag"/>
<then>
<echo file="${sf.releasenotes.wiki.txt}" append="true">The Mercurial changes from Nokia were delivered as a bulk update based on '''XXXXXXXXXXXXXXXXXXXXXX'''.${line.separator}${line.separator}List of the Mercurial changes (files added/removed/modified) between ${sf.previous.pdk.tag} and PDK '''XXXXX''' - [[Media:XXXX.txt]].${line.separator}${line.separator}A short study of the results concentrating on the added and removed files has identified these significant package changes:${line.separator}${line.separator}</echo>
<if>
<istrue value="${sf.spec.sourcesync.archive}"/>
<then>
<echo file="${sf.releasenotes.wiki.txt}" append="true">'''Information cannot be derived as source was synced with archive option'''"${line.separator}${line.separator}</echo>
</then>
<else>
<exec executable="perl" dir="${build.drive}/" output="${sf.releasenotes.wiki.txt}" append="true">
<arg value="${build.drive}/utilities/releaseAutomation/mercurialComparison.pl"/>
<arg value="${build.log.dir}/BOM/build-info.xml"/>
<arg value="${sf.previous.pdk.tag}"/>
<arg value="${build.log.dir}/mercurialComparison.tsv"/>
</exec>
</else>
</if>
</then>
<else>
<echo file="${sf.releasenotes.wiki.txt}" append="true">'''Information cannot be provided as the tag for the previous PDK was not provided to the build'''"${line.separator}${line.separator}</echo>
</else>
</if>
<!-- Code churn -->
<!-- TODO? -->
<fixcrlf file="${sf.releasenotes.wiki.txt}"/>
</target>
|
Helium API | ||||||
| prev next | frames no frames | ||||||