Fixed md5 zipping in case no publish is requested.
Added overwriting of variant.cfg if it already exists
--- a/common/build.postbuild.xml Tue Oct 06 18:43:10 2009 +0100
+++ b/common/build.postbuild.xml Wed Oct 07 17:52:05 2009 +0100
@@ -185,6 +185,7 @@
</parallel>
<!-- package MD5s directly into epoc32/relinfo location so that its usable out-of-the-box -->
+ <mkdir dir="${build.output.dir}/zips/release"/> <!-- Hack to prevent non-existing release dir -->
<zip destfile="${build.output.dir}/zips/release/build_md5.zip">
<zipfileset dir="${build.drive}/output/md5/" prefix="epoc32/relinfo"/>
</zip>
--- a/sf-platform/build.xml Tue Oct 06 18:43:10 2009 +0100
+++ b/sf-platform/build.xml Wed Oct 07 17:52:05 2009 +0100
@@ -38,7 +38,7 @@
<copy todir="${build.drive}/epoc32/include/variant/" failonerror="true" verbose="true">
<fileset dir="${build.drive}/${sf.spec.bldmefirst.gt.hrh}" includes="*.hrh"/>
</copy>
- <copy file="${build.drive}/${sf.spec.bldmefirst.gt.variant}" tofile="${build.drive}/epoc32/tools/variant/variant.cfg" failonerror="true" verbose="true" preservelastmodified="true" />
+ <copy file="${build.drive}/${sf.spec.bldmefirst.gt.variant}" tofile="${build.drive}/epoc32/tools/variant/variant.cfg" failonerror="true" verbose="true" overwrite="true" preservelastmodified="true" />
<if><isset property="sf.spec.bldmefirst.gt.hrh.os"/>
<then>
<copy file="${build.drive}/${sf.spec.bldmefirst.gt.hrh.os}" tofile="${build.drive}/epoc32/include/variant/Symbian_OS.hrh" failonerror="false" overwrite="true" verbose="true" preservelastmodified="true" />