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

## Target sf-getenvs

Location

`D:\maintools\sf-config\common\build.xml:257:`

Conditional execution

No conditions on target execution.

### Description

### Target external Dependency

Name
perl

### 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-getenvs">
            <!-- tools baseline must come before epoc baseline to allow clean listing -->
            <touch file="${build.drive}/output/logs/BOM/toolsbaseline.txt"/>
            <if>
                <istrue value="${sf.spec.toolsbaseline.enable}"/>
                <then>

                    <!-- record toolsbaseline information in BOM file -->
                    <echo message="${sf.spec.toolsbaseline.location}" file="${build.drive}/output/logs/BOM/toolsbaseline.txt"/>

                    <!-- wrapper around preparation-getenv but with diff params -->
                    <runtarget target="sf-getenv-tools"/>

                    <echo message="INFO Getting tools environment listing"/>
                    <exec executable="perl" dir="${build.log.dir}/" failonerror="true" output="${build.log.dir}/listdir_${build.id}_toolsbaseline.log">
                        <arg value="${sf.common.config.dir}/tools/listdir.pl"/>
                        <arg value="${build.drive}/epoc32"/>
                    </exec>
                </then>
            </if>

            <touch file="${build.drive}/output/logs/BOM/baseline.txt"/>
            <if>
                <istrue value="${sf.spec.baseline.enable}"/>
                <then>
                    <!-- record baseline information in BOM file -->
                    <echo message="${sf.spec.baseline.location}" file="${build.drive}/output/logs/BOM/baseline.txt"/>

                    <!-- run internal target preparation-getenv -->
                    <runtarget target="preparation-getenv"/>
                </then>
            </if>
        </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