diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/helium/target-sf-zip-logs.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/helium/target-sf-zip-logs.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,226 @@ + + + + + + +
+ + + + + + + + + +
+
+
|
++Helium API + + | +||||||
+ prev + next | ++ frames + no frames + + + + + + | +
Location
+D:\maintools\sf-config\common\build.postbuild.xml:480: +
+ +Conditional execution
+No conditions on target execution.
++
package all logs into zipfile before publish
+ ++
Name | Edit status | +
---|---|
User editable properties | +|
build.drive | recommended | +
Internal properties | +|
build.id | discouraged | +
build.log.dir | discouraged | +
+ + +
++ <target name="sf-zip-logs"> + <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}"> + <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"> + <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> ++ + +
+
+
|
++Helium API + + | +||||||
+ prev + next | ++ frames + no frames + + + + + + | +