buildframework/helium/tools/uda/uda.ant.xml
author timothy.murphy@nokia.com
Sun, 28 Feb 2010 22:37:15 +0000
branchfix
changeset 282 99ac65572b14
parent 1 be27ed110b50
child 179 d8ac696cc51f
permissions -rw-r--r--
fix: use gethostname() to set host attribute as this works on a cluster whereas reading the COMPUTERNAME env var doesn't.

<?xml version="1.0" encoding="UTF-8"?>
<!-- 
============================================================================ 
Name        : uda.ant.xml 
Part of     : Helium 

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<project name="uda" xmlns:hlm="http://www.nokia.com/helium">
    <description>
        UDA image creation.
    </description>
    <property name="uda.makefile.target" value="uda_roms" />


    <!-- Creates uda rom images according to configuration -->
    <target name="uda-roms" depends="rombuild-create-makefile">
        <!-- get product path -->
        <record name="${build.log.dir}/${build.id}_uda.log" action="start" />
        <for list="${product.list}" delimiter="," param="product.name">
            <sequential>
                <hlm:rombuildImakerMacro product="@{product.name}" target="${uda.makefile.target}" />
            </sequential>
        </for>
        <record name="${build.log.dir}/${build.id}_uda.log" action="stop" />
        <hlm:metadatarecord database="${metadata.dbfile}">
            <hlm:textmetadatainput>
                <fileset casesensitive="false" file="${build.log.dir}/${build.id}_uda.log" />
                <metadatafilterset refid="filterset.uda.roms" />
            </hlm:textmetadatainput>
        </hlm:metadatarecord>
        <hlm:generateBuildStatus file="${build.id}_uda.log" />
        <!-- Todo: metadata: insert assertions for metadata parsing here -->
    </target>

    <!-- Toplevel target for UDA image creation process.
       <deprecated>Please move to iMaker.</deprecated>
     -->
    <target name="uda" depends="uda-roms" />


</project>