overview | deprecated | properties-table | index | help
| Helium API
prev next | frames no frames

## Target sf-package-binary

Location

`d:\maintools\sf-config\common\build.postbuild.xml:198:`

Conditional execution

No conditions on target execution.

### Description

### Target external Dependency

Name
7za
7za
7za

### Property dependencies

Name | Edit status
--- | ---
User editable properties
`build.drive` | recommended
Internal properties
`build.id` | discouraged
`build.log.dir` | discouraged

### Target dependencies

### Source code

        <target name="sf-package-binary" depends="sf-preprocess-package-config,sf-package-postbuild-rnd">
            <!-- Warning: Reverting to using the He zipper will also revert to a single zip for the binaries:
                 would need to update the template and possibly the script that populates it -->
            <!--antcall target="sf-zip-content">
                <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
                <param name="zip.target.name" value="bin" />
            </antcall-->
            <parallel>
                <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
                    <arg value="a"/>
                    <arg value="-tzip"/>
                    <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
                    <arg value="-x!epoc32\tools"/>
                    <arg value="-x!epoc32\build"/>
                    <arg value="-x!epoc32\release\armv5"/>
                    <arg value="-x!epoc32\release\winscw"/>
                    <arg value="-xr!*.sym"/>
                    <arg value="${build.drive}/output/zips/release/binaries_epoc.zip"/>
                    <arg value="epoc32\"/>
                </exec>

                <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw.log">
                    <arg value="a"/>
                    <arg value="-tzip"/>
                    <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
                    <arg value="-xr!*.sym"/>
                    <arg value="${build.drive}/output/zips/release/binaries_winscw.zip"/>
                    <arg value="epoc32\release\winscw\"/>
                </exec>

                <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5.log">
                    <arg value="a"/>
                    <arg value="-tzip"/>
                    <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
                    <arg value="-xr!*.sym"/>
                    <arg value="${build.drive}/output/zips/release/binaries_armv5.zip"/>
                    <arg value="epoc32\release\armv5\"/>
                </exec>
            </parallel>
            <!-- Generate release_metadata entries for the above zips -->
            <antcall target="sf-zip-content">
                <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
                <param name="zip.target.name" value="bin-just-metadata"/>
            </antcall>
        </target>

overview | deprecated | properties-table | index | help
| Helium API
prev next | frames no frames

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html