cdt/cdt_6_0_x/org.eclipse.cdt.releng/util/customTargets.xml
author cawthron
Wed, 04 Nov 2009 15:12:39 -0600
branchRCL_2_4
changeset 107 50bdf9ce2ff9
parent 37 c2bce6dd59e7
permissions -rw-r--r--
add branch RCL_2_4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     1
<project name="Build specific targets and properties" default="noDefault" >
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     2
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     3
<property name="basews" value="gtk" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     4
<property name="baseos" value="linux" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     5
<property name="basearch" value="x86" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     6
<property name="basenl" value="en_US" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     7
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     8
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     9
<!-- Run a given ${target} on all elements being built -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    10
<!-- Add on <ant> task for each top level element being built. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    11
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    12
<target name="allElements">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    13
	<ant antfile="${genericTargets}" target="${target}" >
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    14
		<property name="type" value="feature" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    15
		<property name="id" value="org.eclipse.cdt.util" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    16
	</ant>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    17
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    18
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    19
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    20
<!-- Targets to assemble the built elements for particular configurations  -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    21
<!-- These generally call the generated assemble scripts (named in -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    22
<!-- ${assembleScriptName}) but may also add pre and post processing -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    23
<!-- Add one target for each root element and each configuration -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    24
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    25
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    26
<target name="assemble.org.eclipse.cdt.util">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    27
	<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    28
		<property name="archiveName" value="cdt-util-${branchVersion}-${buildId}.zip"/>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    29
	</ant>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    30
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    31
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    32
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    33
<!-- Check out map files from correct repository -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    34
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    35
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    36
<target name="getMapFiles">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    37
	<copy file="${builder}/../maps/cdt.map" todir="${buildDirectory}/maps"/>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    38
	<replace file="${buildDirectory}/maps/cdt.map">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    39
		<replacefilter token="@cdtTag@" value="${cdtTag}"/>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    40
	</replace>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    41
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    42
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    43
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    44
<!-- Steps to do before setup -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    45
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    46
<target name="preSetup">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    47
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    48
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    49
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    50
<!-- Steps to do after setup but before starting the build proper -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    51
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    52
<target name="postSetup">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    53
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    54
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    55
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    56
<!-- Steps to do before fetching the build elements -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    57
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    58
<target name="preFetch">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    59
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    60
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    61
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    62
<!-- Steps to do after fetching the build elements -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    63
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    64
<target name="postFetch">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    65
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    66
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    67
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    68
<!-- Steps to do before generating the build scripts. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    69
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    70
<target name="preGenerate">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    71
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    72
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    73
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    74
<!-- Steps to do after generating the build scripts. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    75
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    76
<target name="postGenerate">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    77
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    78
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    79
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    80
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    81
<!-- Steps to do before running the build.xmls for the elements being built. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    82
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    83
<target name="preProcess">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    84
	<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    85
		<include name="**/about.mappings" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    86
	</replace>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    87
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    88
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    89
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    90
<!-- Steps to do after running the build.xmls for the elements being built. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    91
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    92
<target name="postProcess">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    93
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    94
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    95
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    96
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    97
<!-- Steps to do before running assemble. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    98
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    99
<target name="preAssemble">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   100
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   101
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   102
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   103
<!-- Steps to do after  running assemble. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   104
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   105
<target name="postAssemble">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   106
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   107
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   108
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   109
<!-- Steps to do after the build is done. -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   110
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   111
<target name="postBuild">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   112
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   113
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   114
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   115
<!-- Steps to do to test the build results -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   116
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   117
<target name="test">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   118
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   119
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   120
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   121
<!-- Steps to do to publish the build results -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   122
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   123
<target name="publish">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   124
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   125
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   126
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   127
<!-- Default target                                                        -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   128
<!-- ===================================================================== -->
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   129
<target name="noDefault">
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   130
	<echo message="You must specify a target when invoking this file" />
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   131
</target>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   132
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   133
</project>