Added call to munge license headers at the top of the postbuild phase, so it should be done within the platorm build.
--- a/common/build.postbuild.xml Mon Nov 09 15:52:52 2009 +0000
+++ b/common/build.postbuild.xml Mon Nov 02 22:23:26 2009 +0000
@@ -10,7 +10,13 @@
</then>
</if>
- <parallel>
+ <if><istrue value="${sf.relicense.exported.headers}"/>
+ <then>
+ <runtarget target="sf-run-sfl-licence-munging"/>
+ </then>
+ </if>
+
+ <parallel>
<!-- TAG SOURCE CODE -->
<if>
<istrue value="${sf.spec.tagafterbuild.enable}" />
@@ -813,12 +819,13 @@
</if>
</target>
-
<target name="sf-run-sfl-licence-munging" depends="sf-check-utilities-dir" if="sf-utilities-available">
<echo message="Running SFL Licence Munging writing log to ${build.log.dir}"/>
+ <stopwatch name="munge" action="start"/>
<exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/postbuild_sfl-licence_munging_results.log">
<arg value="${build.drive}/utilities/williamr/convert_to_eula.pl"/>
</exec>
+ <stopwatch name="munge" action="total"/>
</target>
</project>