buildframework/helium/tools/release/release.ant.xml
author Zheng Shen <zheng.shen@nokia.com>
Tue, 20 Jul 2010 15:02:28 +0800
changeset 617 3a747a240983
parent 588 c7c26511138f
child 628 7c4a911dc066
permissions -rw-r--r--
ROM Tools 12.2.0.4 Postlinker 2.2.5 Revert package_definition.xml to changeset 360bd6b35136
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     2
<!-- 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     3
============================================================================ 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     4
Name        : release.ant.xml 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     5
Part of     : Helium 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     6
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     8
All rights reserved.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     9
This component and the accompanying materials are made available
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    11
which accompanies this distribution, and is available
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    13
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    14
Initial Contributors:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    16
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    17
Contributors:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    18
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    19
Description:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    20
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    21
============================================================================
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    22
-->
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    23
<!--* @package releases -->
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    24
<project name="release" xmlns:hlm="http://www.nokia.com/helium">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    25
    <description>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    26
        Release publising.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    27
    </description>
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    28
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    29
    <import file="scm_release.ant.xml" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    30
    
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    31
    <!-- This is where the release build logs are stored.
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    32
    @type string
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    33
    @scope private
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    34
    -->
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    35
    <property name="release.log.dir" location="${build.log.dir}/release"/>       
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 217
diff changeset
    36
    
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    37
    
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    38
    <!--* @property release.grace.service
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    39
    The Grace service used
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    40
    @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    41
    @editable required
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    42
    @scope public
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    43
    -->
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    44
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    45
    <!--* @property release.grace.product
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    46
    The Grace product used
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    47
    @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    48
    @editable required
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    49
    @scope public
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    50
    -->
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    51
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    52
    <!--* @property release.grace.mail.to
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    53
    To whom the completion mail is sent to
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    54
    @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    55
    @editable required
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    56
    @scope public
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    57
    -->
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    58
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    59
    <!--* @property release.grace.mail.subject
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    60
    The subject of the Grace upload completion mail
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    61
    @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    62
    @editable required
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    63
    @scope public
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    64
    -->
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    65
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    66
    <!--* @property release.grace.mail.message
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    67
    The message contents of the Grace upload completion mail
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    68
    @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    69
    @editable required
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    70
    @scope public
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    71
    -->
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    72
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    73
    <fileset id="release.files" dir="${publish.dir}">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    74
        <include name="logs/**/*" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    75
        <include name="development_flash_images/**/*" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    76
        <include name="release_flash_images/**/*" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    77
        <include name="sisfiles/**/*" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    78
        <include name="build_area/**/*" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    79
        <include name="test_results/**/*" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    80
        <include name="utilities/**/*" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    81
    </fileset>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    82
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    83
    <!-- Copies release.files fileset into publish.release.folder destination -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    84
    <target name="release">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    85
        <mkdir dir="${publish.release.dir}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    86
        <copy todir="${publish.release.dir}" preservelastmodified="true" failonerror="false">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    87
            <fileset refid="release.files" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    88
        </copy>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    89
    </target>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    90
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    91
    <!--* @property s60.build.robot.path
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    92
    Location where to publish the build robot delivery.
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    93
    @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    94
    @editable required
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    95
    @scope public
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    96
    -->
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    97
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    98
    <!--* @property s60.build.robot.date
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
    99
    This property represent the releasing interval. The syntax is as follow: day1,time1,day2,time2,projectname;day1,time1,day2,time2,projectname2 With day and time matching the following properties: day [1, 14] time [00, 23]:[00, 59] Example: 2,10:00,3,20:00,ABS_domain
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   100
    @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   101
    @editable required
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   102
    @scope public
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   103
    -->
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   104
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   105
    <!--
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   106
        This target sets the '''do.robot.release''' property so it activates 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   107
        the '''ido-sources-to-s60-build-robot''' target.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   108
    -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   109
    <target name="check-robot-release" if="s60.build.robot.path">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   110
        <script language="jython" setbeans="false">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   111
            <![CDATA[
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   112
self.setTaskName("check-robot-release")
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   113
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   114
import ido
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   115
projects = []
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   116
mconfigstr = project.getProperty('s60.build.robot.date')
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   117
if mconfigstr != None:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   118
    for configstr in mconfigstr.split(';'):
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   119
        config = map(lambda x: x.strip(), configstr.split(','))
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   120
        try:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   121
            if ido.is_in_interval(int(config[0]), config[1], int(config[2]), config[3]):
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   122
                self.log("It is release time!")
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   123
                projects.append(config[4])
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   124
                project.setProperty('do.robot.release', ",".join(projects))
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   125
            else:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   126
                self.log("It is not release time!")
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   127
        except Exception, e:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   128
            self.log("'%s' invalid configuration." % configstr)
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   129
else:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   130
    self.log("'s60.build.robot.date' is not defined.")
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   131
]]>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   132
        </script>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   133
    </target>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   134
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   135
    <!-- Sources are sent to the S60 build robot by all the IDOs. 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   136
    This target collects all the sources based on the System Definition file, 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   137
    zip them all and send to the specified location. There is only one but mandatory 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   138
    property to tell the location of the build server which is "s60.build.robot.path".
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   139
    -->
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   140
    <target name="ido-sources-to-s60-build-robot" if="do.robot.release" depends="ido-create-ado-mapping,check-robot-release,lookup-email">
217
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   141
        <!-- Location of the ready.txt FMPP template (override that property if you want to customize the content).
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   142
        @type string
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   143
        @scope private
0f5e3a7fb6af helium_8.0-r15308
wbernard
parents: 1
diff changeset
   144
        -->
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   145
        <property name="ido.template.robot.ready" location="${helium.dir}/tools/common/templates/ido/ready.txt.ftl" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   146
        <tempfile property="s60robot.dynamic.config" suffix=".xml" deleteonexit="false" destdir="${temp.build.dir}" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   147
        <fmpp sourceFile="${helium.dir}/tools/common/templates/ido/ido-robot-zip.ant.xml.ftl" outputFile="${s60robot.dynamic.config}">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   148
            <data expandProperties="yes">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   149
                    inputfile: antProperty(ado.mapping.file)
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   150
                    ant: antProperties()
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   151
                    data: eval('
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   152
                                            java.io.FileInputStream pin = new java.io.FileInputStream(filename);
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   153
                                            java.util.Properties props = new java.util.Properties();
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   154
                                            props.load(pin);
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   155
                        return props;
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   156
                            ', {filename: get(inputfile)})
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   157
            </data>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   158
        </fmpp>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   159
        <ant antfile="${s60robot.dynamic.config}" target="all" />
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   160
        <fmpp sourceFile="${ido.template.robot.ready}" outputFile="${s60.build.robot.path}/ready.txt">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   161
            <data expandProperties="yes">
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   162
                ant: antProperties()
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   163
            </data>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   164
        </fmpp>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   165
    </target>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   166
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   167
</project>