common/templates/hg-prep.ant.xml.ftl
author Matt Davies <mattd@symbian.org>
Tue, 19 May 2009 16:02:09 +0100
changeset 100 c222f4b27ad7
parent 0 571f289c60b8
permissions -rw-r--r--
parselistdirs.pl - fixed export scanning and added output path for logs. - 'uptodate' export scanning looks in all logs, not just 'clean' ones. - Exported is a new group, and those exports have been removed form other groups. - Logs output path flexiblility improved - The following are now the same: I:\logs\generated>perl parselistdirs.pl ..\ >list_results.log I:\>perl logs\generated\parselistdirs.pl logs\ logs\generated\ >logs\generated\list_results.log
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     1
<?xml version="1.0"?>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     2
<project name="hg-prep" default="all" xmlns:hlm="http://www.nokia.com/helium">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     3
    <property environment="env"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     4
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     5
    <taskdef name="scm" classname="com.nokia.helium.scm.ant.taskdefs.ScmTask" uri="http://www.nokia.com/helium" />
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     6
    <typedef name="latestTag" classname="com.nokia.helium.scm.ant.types.LatestTag" uri="http://www.nokia.com/helium" />
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     7
    <typedef name="tagSet" classname="com.nokia.helium.scm.ant.types.TagSet" uri="http://www.nokia.com/helium" />
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     8
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     9
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    10
    <target name="all">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    11
    
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    12
    <parallel threadCount="${ant['threads']}">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    13
    <#assign refid=0/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    14
<#list data as d>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    15
        <sequential>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    16
            <delete dir="${ant['build.drive']}${d.dst}" failonerror="false"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    17
            <mkdir dir="${ant['build.drive']}${d.dst}"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    18
            <hlm:scm verbose="true" scmUrl="scm:hg:${d.source}">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    19
                <hlm:checkout basedir="${ant['build.drive']}${d.dst}"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    20
        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    21
                <hlm:tags basedir="${ant['build.drive']}${d.dst}" reference="hg.tags.id${refid}"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    22
        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    23
                <hlm:update basedir="${ant['build.drive']}${d.dst}">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    24
                    <hlm:latestTag pattern="${d.tag}">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    25
                        <hlm:tagSet refid="hg.tags.id${refid}" />
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    26
                    </hlm:latestTag>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    27
                </hlm:update>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    28
            </hlm:scm>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    29
        </sequential>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    30
        <#assign refid=refid + 1/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    31
</#list>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    32
    </parallel>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    33
    </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    34
    
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    35
    <import file="${ant['helium.dir']}/helium.ant.xml"/>   
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    36
</project>