carbideui/CarbideUIBuildScript/BuildScript/com.nokia.tools.s60.ide.releng.builder/runtime/customTargets.xml
changeset 0 a44900f0f001
equal deleted inserted replaced
-1:000000000000 0:a44900f0f001
       
     1 <project name="Build specific targets and properties" default="noDefault">
       
     2 
       
     3 	<property name="basews" value="win32" />
       
     4 	<property name="baseos" value="win32" />
       
     5 	<property name="basearch" value="x86" />
       
     6 	<property name="basenl" value="en_US" />
       
     7 	<dirname property="antfile.dir" file="${ant.file}"/>
       
     8 
       
     9 	<taskdef name="stripVersions" classname="org.eclipse.releng.VersionNumberStripper" />
       
    10 
       
    11 	<!-- ===================================================================== -->
       
    12 	<!-- Run a given ${target} on all elements being built -->
       
    13 	<!-- Add on <ant> task for each top level element being built. -->
       
    14 	<!-- ===================================================================== -->
       
    15 	<target name="allElements">
       
    16 		<ant antfile="${genericTargets}" target="${target}">
       
    17 			<property name="type" value="feature" />
       
    18 			<property name="id" value="com.nokia.tools.s60.ide" />
       
    19 		</ant>
       
    20 	</target>
       
    21 
       
    22 	<!-- ===================================================================== -->
       
    23 	<!-- Targets to assemble the built elements for particular configurations  -->
       
    24 	<!-- These generally call the generated assemble scripts (named in -->
       
    25 	<!-- ${assembleScriptName}) but may also add pre and post processing -->
       
    26 	<!-- Add one target for each root element and each configuration -->
       
    27 	<!-- ===================================================================== -->
       
    28 
       
    29 	<target name="assemble.com.nokia.tools.s60.ide">
       
    30 		<ant antfile="${assembleScriptName}" dir="${buildDirectory}" />
       
    31 	</target>
       
    32 
       
    33 	<!-- ===================================================================== -->
       
    34 	<!-- Check out map files from correct repository -->
       
    35 	<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
       
    36 	<!-- ===================================================================== -->
       
    37 	<target name="getMapFiles">
       
    38 		<cvs cvsRoot="${cvsRoot}" cvsRsh="ssh" package="com.nokia.tools.s60.ide.releng" dest="${buildDirectory}/maps" tag="${mapVersionTag}" />
       
    39 	</target>
       
    40 
       
    41 	<!-- ===================================================================== -->
       
    42 	<!-- Steps to do before setup -->
       
    43 	<!-- ===================================================================== -->
       
    44 	<target name="preSetup">
       
    45 		<mkdir dir="${buildDirectory}/${buildLabel}" />
       
    46 	</target>
       
    47 
       
    48 	<!-- ===================================================================== -->
       
    49 	<!-- Steps to do after setup but before starting the build proper -->
       
    50 	<!-- ===================================================================== -->
       
    51 	<target name="postSetup">
       
    52 		<ant antfile="${antfile.dir}/../commonTargets.xml" target="extractBuilds" />
       
    53 	</target>
       
    54 
       
    55 	<!-- ===================================================================== -->
       
    56 	<!-- Steps to do before fetching the build elements -->
       
    57 	<!-- ===================================================================== -->
       
    58 	<target name="preFetch">
       
    59 	</target>
       
    60 
       
    61 	<!-- ===================================================================== -->
       
    62 	<!-- Steps to do after fetching the build elements -->
       
    63 	<!-- ===================================================================== -->
       
    64 	<target name="postFetch">
       
    65 	</target>
       
    66 
       
    67 	<!-- ===================================================================== -->
       
    68 	<!-- Steps to do before generating the build scripts. -->
       
    69 	<!-- ===================================================================== -->
       
    70 	<target name="preGenerate">
       
    71 	</target>
       
    72 
       
    73 	<!-- ===================================================================== -->
       
    74 	<!-- Steps to do after generating the build scripts. -->
       
    75 	<!-- ===================================================================== -->
       
    76 	<target name="postGenerate">
       
    77 	</target>
       
    78 
       
    79 
       
    80 	<!-- ===================================================================== -->
       
    81 	<!-- Steps to do before running the build.xmls for the elements being built. -->
       
    82 	<!-- ===================================================================== -->
       
    83 	<target name="preProcess">
       
    84 	</target>
       
    85 
       
    86 	<!-- ===================================================================== -->
       
    87 	<!-- Steps to do after running the build.xmls for the elements being built. -->
       
    88 	<!-- ===================================================================== -->
       
    89 	<target name="postProcess">
       
    90 		<condition property="logsAvailable">
       
    91 			<istrue value="${javacVerbose}"/> 
       
    92 		</condition>
       
    93 		<ant antfile="${antfile.dir}/../commonTargets.xml" target="gatherLogs">
       
    94 			<property name="antfile" value="${ant.file}" />
       
    95 			<property name="featureId" value="com.nokia.tools.s60.ide" />
       
    96 		</ant>
       
    97 	</target>
       
    98 
       
    99 
       
   100 	<!-- ===================================================================== -->
       
   101 	<!-- Steps to do before running assemble. -->
       
   102 	<!-- ===================================================================== -->
       
   103 	<target name="preAssemble">
       
   104 	</target>
       
   105 
       
   106 	<!-- ===================================================================== -->
       
   107 	<!-- Steps to do after  running assemble. -->
       
   108 	<!-- ===================================================================== -->
       
   109 	<target name="postAssemble">
       
   110 	</target>
       
   111 
       
   112 	<!-- ===================================================================== -->
       
   113 	<!-- Steps to do after the build is done. -->
       
   114 	<!-- ===================================================================== -->
       
   115 	<target name="postBuild">
       
   116 	</target>
       
   117 
       
   118 	<!-- ===================================================================== -->
       
   119 	<!-- Steps to do to test the build results -->
       
   120 	<!-- ===================================================================== -->
       
   121 	<target name="test">
       
   122 	</target>
       
   123 
       
   124 	<!-- ===================================================================== -->
       
   125 	<!-- Steps to do to publish the build results -->
       
   126 	<!-- ===================================================================== -->
       
   127 	<target name="publish">
       
   128 	</target>
       
   129 
       
   130 	<!-- ===================================================================== -->
       
   131 	<!-- Default target                                                        -->
       
   132 	<!-- ===================================================================== -->
       
   133 	<target name="noDefault">
       
   134 		<echo message="You must specify a target when invoking this file" />
       
   135 	</target>
       
   136 </project>