common/build.xml
changeset 2 b55de085507d
parent 0 571f289c60b8
child 3 cee0afe79855
equal deleted inserted replaced
1:5ed4e1aba7ef 2:b55de085507d
     7 
     7 
     8 	<!-- import all core HELIUM targets -->
     8 	<!-- import all core HELIUM targets -->
     9 	<import file="${helium.dir}/helium.ant.xml" />
     9 	<import file="${helium.dir}/helium.ant.xml" />
    10         
    10         
    11         <!-- import sysdef file location config -->
    11         <!-- import sysdef file location config -->
    12         <import file="${sf.common.config.dir}/sysdef.config.ant.xml"/>
    12         <import file="${sf.common.config.dir}/../../build/hg-pkg-build.ant.xml"/>
    13         
    13         
    14         <!--
    14         <!--
    15         ** TARGET DEFINITIONS
    15         ** TARGET DEFINITIONS
    16         -->
    16         -->
    17         
    17         
    18         <target name="sf-build" depends="sf-prep,sf-prebuild,sf-build-run,sf-postbuild">            
    18         <target name="sf-build" depends="sf-prep,sf-prebuild,scm-get-input,sf-build-run,sf-postbuild">            
    19             <echo>[SF-BUILD]</echo>
    19             <echo>[SF-BUILD]</echo>
    20         </target>
    20         </target>
    21         
    21         
    22         <target name="sf-build-noprep">            
    22         <target name="sf-build-noprep">            
    23             <echo>[SF-BUILD-NO-PREP]</echo>
    23             <echo>[SF-BUILD-NO-PREP]</echo>
    24         </target>
    24         </target>
    25         
    25         
    26         <target name="sf-prep" depends="check-tool-dependencies, prep-drive,init-build-area,create-bom,log-build-env">
    26         <target name="sf-prep" depends="check-tool-dependencies, prep-drive,init-build-area,create-bom,log-build-env">
    27             <echo>[SF-PREP]</echo>   
    27             <echo>[SF-PREP]</echo>   
    28             <tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/>
    28             <tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/>
    29             
       
    30             <!-- new implementation that only rely on Ant -->
       
    31             <fmpp sourceFile="${sf.common.config.dir}/templates/hg-prep.ant.xml.ftl"
       
    32                          outputFile="${prep.dynamic.config}">
       
    33                    <data expandProperties="yes">
       
    34                         ant: antProperties()
       
    35                         data: csv(${sf.common.config.dir}/../../build/${hg.config}, {separator:','})
       
    36                     </data>
       
    37             </fmpp>
       
    38             <ant antfile="${prep.dynamic.config}"/>
       
    39         </target>
    29         </target>
    40         
    30         
    41         <target name="sf-prebuild" depends="preparation-getenv"> 
    31         <target name="sf-prebuild" depends="preparation-getenv"> 
    42         
    32         
    43             <echo>[SF-PREBUILD]</echo>                                    
    33             <echo>[SF-PREBUILD]</echo>                                    
    58         
    48         
    59         <target name="sf-build-run">            
    49         <target name="sf-build-run">            
    60             <echo>[SF-BUILD-RUN]</echo>
    50             <echo>[SF-BUILD-RUN]</echo>
    61         </target>
    51         </target>
    62 
    52 
    63         
    53     <target name="scm-get-input">
       
    54         <ant antfile="${sf.common.config.dir}/../../build/hg-pkg-build.ant.xml" />
       
    55     </target>        
    64 </project>
    56 </project>
    65 
    57 
    66 
    58