diff -r 3c858aa7a023 -r 56a1d97e7c73 doc/api/helium/target-sf-zip-logs.html
--- a/doc/api/helium/target-sf-zip-logs.html Tue Oct 06 17:31:14 2009 +0100
+++ b/doc/api/helium/target-sf-zip-logs.html Thu Oct 08 19:36:20 2009 +0100
@@ -82,7 +82,7 @@
Target sf-zip-logs
Location
- D:\maintools\sf-config\common\build.postbuild.xml:480:
+
d:\maintools\sf-config\common\build.postbuild.xml:601:
Conditional execution
@@ -91,7 +91,7 @@
Description
-
package all logs into zipfile before publish
+package all logs into zipfile for publishing
@@ -116,10 +116,7 @@
Internal properties |
- build.id | discouraged |
-
-
- build.log.dir | discouraged |
+ build.output.dir | never |
@@ -132,8 +129,11 @@
@@ -145,22 +145,19 @@
<if>
<istrue value="${sf.spec.logs.zip.enable}"/>
<then>
- <property name="temp.log.dir" value="${env.TEMP}/${build.id}_output_logs"/>
- <echo message="Zip log requested, zipping logs..."/>
- <mkdir dir="${temp.log.dir}"/>
- <zip destfile="${temp.log.dir}/build_logs.zip" basedir="${build.drive}">
+ <mkdir dir="${build.output.dir}/zips/release"/> <!-- workaround for when there's no other releaseables, just the logs -->
+ <zip destfile="${build.output.dir}/zips/release/build_logs.zip" basedir="${build.drive}">
<include name="output/logs/**"/>
<exclude name="output/logs/BOM/**"/>
<exclude name="output/logs/deliverables/**"/>
<exclude name="output/logs/releaseables/**"/>
</zip>
- <zip destfile="${temp.log.dir}/build_BOM.zip">
+ <!-- workaround for the time when when 'sf-run-analysis-raptor' has not been run -->
+ <mkdir dir="${build.drive}/output/logs/releaseables"/>
+ <zip destfile="${build.output.dir}/zips/release/build_BOM.zip">
<zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/>
<zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/>
</zip>
- <move todir="${build.log.dir}">
- <fileset dir="${temp.log.dir}"/>
- </move>
</then>
</if>
</target>