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

## Target sf-record-proj-conf-bom

Location

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

Conditional execution

No conditions on target execution.

### Description

### Target external Dependency

Name
hg
hg
hg
hg

### Property dependencies

Name | Edit status
--- | ---
User editable properties
`build.drive` | recommended
Internal properties

### Target dependencies

### Source code

        <target name="sf-record-proj-conf-bom">
            <!-- create BOM dir -->
            <mkdir dir="${build.drive}/output/logs/BOM"/>

            <!-- record config and project information in BOM files -->
            <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.repo">
                <arg value="showconfig"/>
                <arg value="paths.default"/>
            </exec>
            <propertyregex input="${sf.job.bom.config.repo}" regexp="\\" replace="/" global="true" property="sf.job.bom.config.repo" override="true"/>
            <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.checksum">
                <arg value="identify"/>
                <arg value="-i"/>
            </exec>
            <echo message="${sf.job.bom.config.repo},sf-config,${sf.job.bom.config.checksum}" file="${build.drive}/output/logs/BOM/config.csv"/>

            <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.repo">
                <arg value="showconfig"/>
                <arg value="paths.default"/>
            </exec>
            <propertyregex input="${sf.job.bom.project.repo}" regexp="\\" replace="/" global="true" property="sf.job.bom.project.repo" override="true"/>
            <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.checksum">
                <arg value="identify"/>
                <arg value="-i"/>
            </exec>
    	<echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/>
        </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