carbideui/CarbideUIBuildScript/BuildScript/com.nokia.tools.s60.ide.releng.builder/theme/customTargets.xml
author vasuds@2INL03378.NOE.Nokia.com
Wed, 07 Jul 2010 16:18:07 +0530
changeset 0 a44900f0f001
permissions -rw-r--r--
Carbide.ui source under EPL for ver3.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     1
<project name="Build specific targets and properties" default="noDefault">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     2
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     3
        <property name="basews" value="win32" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     4
        <property name="baseos" value="win32" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     5
        <property name="basearch" value="x86" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     6
        <property name="basenl" value="en_US" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     7
        <dirname property="antfile.dir" file="${ant.file}" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     8
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
     9
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    10
        <!-- Run a given ${target} on all elements being built -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    11
        <!-- Add on <ant> task for each top level element being built. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    12
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    13
        <target name="allElements">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    14
                <ant antfile="${genericTargets}" target="${target}">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    15
                        <property name="type" value="feature" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    16
                        <property name="id" value="com.nokia.tools.carbide.ui.themeedition" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    17
                </ant>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    18
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    19
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    20
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    21
        <!-- Targets to assemble the built elements for particular configurations  -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    22
        <!-- These generally call the generated assemble scripts (named in -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    23
        <!-- ${assembleScriptName}) but may also add pre and post processing -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    24
        <!-- Add one target for each root element and each configuration -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    25
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    26
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    27
        <target name="assemble.com.nokia.tools.carbide.ui.themeedition">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    28
                <ant antfile="${assembleScriptName}" dir="${buildDirectory}" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    29
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    30
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    31
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    32
        <!-- Check out map files from correct repository -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    33
        <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    34
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    35
        <target name="getMapFiles">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    36
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    37
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    38
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    39
        <!-- Steps to do before setup -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    40
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    41
        <target name="preSetup">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    42
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    43
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    44
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    45
        <!-- Steps to do after setup but before starting the build proper -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    46
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    47
        <target name="postSetup">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    48
                <ant antfile="${antfile.dir}/../commonTargets.xml" target="extractBuilds" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    49
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    50
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    51
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    52
        <!-- Steps to do before generating the build scripts. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    53
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    54
        <target name="preGenerate">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    55
                <copydir forceoverwrite="true" dest="${buildDirectory}\features" src="${buildDirectory}\..\..\..\..\Code\" includes="com.nokia.tools.carbide.ui.themeedition-feature\**"></copydir>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    56
                <rename dest="${buildDirectory}\features\com.nokia.tools.carbide.ui.themeedition" src="${buildDirectory}\features\com.nokia.tools.carbide.ui.themeedition-feature"/>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    57
                <copydir forceoverwrite="true" dest="${buildDirectory}\plugins" src="${buildDirectory}\..\..\..\..\Code\" excludes="com.nokia.tools.carbide.ui.themeedition-feature\**" ></copydir>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    58
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    59
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    60
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    61
        <!-- Steps to do after generating the build scripts. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    62
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    63
        <target name="postGenerate">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    64
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    65
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    66
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    67
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    68
        <!-- Steps to do before running the build.xmls for the elements being built. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    69
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    70
        <target name="preProcess">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    71
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    72
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    73
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    74
        <!-- Steps to do after running the build.xmls for the elements being built. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    75
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    76
        <target name="postProcess">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    77
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    78
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    79
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    80
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    81
        <!-- Steps to do before running assemble. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    82
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    83
        <target name="preAssemble">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    84
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    85
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    86
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    87
        <!-- Steps to do after  running assemble. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    88
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    89
        <target name="postAssemble">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    90
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    91
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    92
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    93
        <!-- Steps to do after the build is done. -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    94
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    95
        <target name="postBuild">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    96
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    97
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    98
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
    99
        <!-- Steps to do to test the build results -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   100
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   101
        <target name="test">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   102
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   103
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   104
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   105
        <!-- Steps to do to publish the build results -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   106
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   107
        <target name="publish">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   108
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   109
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   110
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   111
        <!-- Default target                                                        -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   112
        <!-- ===================================================================== -->
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   113
        <target name="noDefault">
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   114
                <echo message="You must specify a target when invoking this file" />
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   115
        </target>
a44900f0f001 Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff changeset
   116
</project>