--- 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 @@
<h2>Target sf-zip-logs</h2>
<p><b>Location</b></p>
-<p> <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.postbuild.xml#L480">D:\maintools\sf-config\common\build.postbuild.xml:480:</a></tt>
+<p> <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.postbuild.xml#L601">d:\maintools\sf-config\common\build.postbuild.xml:601:</a></tt>
</p>
<p><b>Conditional execution</b></p>
@@ -91,7 +91,7 @@
<h3>Description</h3>
<p>
-<p>package all logs into zipfile before publish</p></p>
+<p>package all logs into zipfile for publishing</p></p>
<p/>
<hr/>
@@ -116,10 +116,7 @@
<td colspan="2">Internal properties</td>
</tr>
<tr>
- <td><a href="property-build.id.html" title="<p>A unique ID for the build.</p>" target="classframe"><tt class="docutils literal">build.id</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td>
- </tr>
- <tr>
- <td><a href="property-build.log.dir.html" title="<p>This is where the build logs are stored.</p>" target="classframe"><tt class="docutils literal">build.log.dir</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td>
+ <td><a href="property-build.output.dir.html" title="<p>This is the directory where build output is placed.</p>" target="classframe"><tt class="docutils literal">build.output.dir</tt></a></td><td><a href="help.html" title="Help" target="classframe">never</a></td>
</tr>
</table>
</p>
@@ -132,8 +129,11 @@
<img src="target-sf-zip-logs.dot.png" alt="sf-zip-logs dependencies" usemap="#dependencies"
style="border-style: none"/>
<map name="dependencies" id="dependencies">
-<area shape="rect" id="node1" href="target-sf-zip-logs.html" title="sf-zip-logs" alt="" coords="156,5,247,53">
-<area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="5,5,107,53">
+<area shape="rect" id="node1" href="target-sf-zip-logs.html" title="sf-zip-logs" alt="" coords="223,113,313,161">
+<area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="39,5,140,53">
+<area shape="rect" id="node4" href="target-sf-create-public-PDK.html" title="sf-create-public-PDK" alt="" coords="5,77,173,125">
+<area shape="rect" id="node6" href="target-sf-test-smoketest.html" title="sf-test-smoketest" alt="" coords="20,149,159,197">
+<area shape="rect" id="node8" href="target-sf-test-bc-check.html" title="sf-test-bc-check" alt="" coords="24,221,155,269">
</map>
</p>
<hr/>
@@ -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>