Home | History | Annotate | Download | only in componentScripts
      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 
      8 <!-- ===================================================================== -->
      9 <!-- Run a given ${target} on all elements being built -->
     10 <!-- Add on <ant> task for each top level element being built. -->
     11 <!-- ===================================================================== -->
     12 <target name="allElements">
     13 	<ant antfile="${genericTargets}" target="${target}" >
     14 		<property name="type" value="<feature | plugin | fragment>" />
     15 		<property name="id" value="<element.id>" />
     16 	</ant>
     17 </target>
     18 
     19 <!-- ===================================================================== -->
     20 <!-- Targets to assemble the built elements for particular configurations  -->
     21 <!-- These generally call the generated assemble scripts (named in -->
     22 <!-- ${assembleScriptName}) but may also add pre and post processing -->
     23 <!-- Add one target for each root element and each configuration -->
     24 <!-- ===================================================================== -->
     25 
     26 <target name="assemble.<element.id>[.config.spec]">
     27 	<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     28 </target>
     29 
     30 <!-- ===================================================================== -->
     31 <!-- Check out map files from correct repository -->
     32 <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
     33 <!-- ===================================================================== -->
     34 <target name="getMapFiles">
     35 	<property name="cvsRoot" value="<cvs repo locator and login info>" />
     36 	<property name="mapVersionTag" value="HEAD" />
     37 	<cvs 
     38 		package="<repo location of map files>"
     39 		dest="${buildDirectory}/maps"
     40 		tag="${mapVersionTag}"
     41 	/>
     42 </target>
     43 
     44 <!-- ===================================================================== -->
     45 <!-- Steps to do before setup -->
     46 <!-- ===================================================================== -->
     47 <target name="preSetup">
     48 </target>
     49 
     50 <!-- ===================================================================== -->
     51 <!-- Steps to do after setup but before starting the build proper -->
     52 <!-- ===================================================================== -->
     53 <target name="postSetup">
     54 </target>
     55 
     56 <!-- ===================================================================== -->
     57 <!-- Steps to do before fetching the build elements -->
     58 <!-- ===================================================================== -->
     59 <target name="preFetch">
     60 </target>
     61 
     62 <!-- ===================================================================== -->
     63 <!-- Steps to do after fetching the build elements -->
     64 <!-- ===================================================================== -->
     65 <target name="postFetch">
     66 </target>
     67 
     68 <!-- ===================================================================== -->
     69 <!-- Steps to do before generating the build scripts. -->
     70 <!-- ===================================================================== -->
     71 <target name="preGenerate">
     72 </target>
     73 
     74 <!-- ===================================================================== -->
     75 <!-- Steps to do after generating the build scripts. -->
     76 <!-- ===================================================================== -->
     77 <target name="postGenerate">
     78 </target>
     79 
     80 
     81 <!-- ===================================================================== -->
     82 <!-- Steps to do before running the build.xmls for the elements being built. -->
     83 <!-- ===================================================================== -->
     84 <target name="preProcess">
     85 </target>
     86 
     87 <!-- ===================================================================== -->
     88 <!-- Steps to do after running the build.xmls for the elements being built. -->
     89 <!-- ===================================================================== -->
     90 <target name="postProcess">
     91 </target>
     92 
     93 
     94 <!-- ===================================================================== -->
     95 <!-- Steps to do before running assemble. -->
     96 <!-- ===================================================================== -->
     97 <target name="preAssemble">
     98 </target>
     99 
    100 <!-- ===================================================================== -->
    101 <!-- Steps to do after  running assemble. -->
    102 <!-- ===================================================================== -->
    103 <target name="postAssemble">
    104 </target>
    105 
    106 <!-- ===================================================================== -->
    107 <!-- Steps to do after the build is done. -->
    108 <!-- ===================================================================== -->
    109 <target name="postBuild">
    110 </target>
    111 
    112 <!-- ===================================================================== -->
    113 <!-- Steps to do to test the build results -->
    114 <!-- ===================================================================== -->
    115 <target name="test">
    116 </target>
    117 
    118 <!-- ===================================================================== -->
    119 <!-- Steps to do to publish the build results -->
    120 <!-- ===================================================================== -->
    121 <target name="publish">
    122 </target>
    123 
    124 <!-- ===================================================================== -->
    125 <!-- Default target                                                        -->
    126 <!-- ===================================================================== -->
    127 <target name="noDefault">
    128 	<echo message="You must specify a target when invoking this file" />
    129 </target>
    130 
    131 </project>
    132