sf-platform/build.xml
changeset 861 caa0601f50c5
parent 830 d7e0043062fc
child 869 11f6b5e5cd2d
equal deleted inserted replaced
860:fbd25e274e6b 861:caa0601f50c5
    15   <!--
    15   <!--
    16   * Property defaults
    16   * Property defaults
    17    -->
    17    -->
    18 
    18 
    19   <!-- MattD - workaround until generating a model from package definitions works-->
    19   <!-- MattD - workaround until generating a model from package definitions works-->
    20   <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile,sf-postbuild">
    20   <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile">
    21     <echo>[SF-BUILD-NOPREP] (platform)</echo>
    21     <echo>[SF-BUILD-NOPREP] (platform)</echo>
    22     <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
    22     <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
    23   </target>
    23   </target>
    24 
    24 
    25   <target name="sf-platform-bootstrap" depends="sf-gen-buildinfo-txt,sf-platform-bootstrap-gt,sf-platform-bootstrap-s60"/>
    25   <target name="sf-platform-bootstrap" depends="sf-gen-buildinfo-txt,sf-platform-bootstrap-gt,sf-platform-bootstrap-s60"/>
   127     ==       os  build will be skipped if sf.spec.os.skipbuild=true
   127     ==       os  build will be skipped if sf.spec.os.skipbuild=true
   128     ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
   128     ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
   129     ==
   129     ==
   130     -->
   130     -->
   131   <target name="sf-compile">
   131   <target name="sf-compile">
       
   132     <stopwatch name="sf-compile"/>
   132 
   133 
   133     <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed -->
   134     <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed -->
   134     <if><istrue value="${sf.spec.splitbuild}"/>
   135     <if><istrue value="${sf.spec.splitbuild}"/>
   135        <then>
   136       <then>
   136        <if><istrue value="${sf.spec.os.skipbuild}" />
   137         <if><istrue value="${sf.spec.os.skipbuild}" />
   137             <then><echo message="Skipping OS build"/></then>
   138           <then><echo message="Skipping OS build"/></then>
   138        <else><runtarget target="sf-os-compile"/></else></if>
   139           <else><runtarget target="sf-os-compile"/></else>
   139 
   140         </if>
   140        <if><istrue value="${sf.spec.s60.skipbuild}" />
   141 
   141             <then><echo message="Skipping S60 build"/></then>
   142         <if><istrue value="${sf.spec.s60.skipbuild}" />
   142        <else><runtarget target="sf-s60-compile"/></else></if>
   143           <then><echo message="Skipping S60 build"/></then>
   143 	   </then>
   144           <else><runtarget target="sf-s60-compile"/></else>
   144 	   <else>
   145         </if>
   145 	        <!-- TODO targets for single sysdef build -->
   146       </then>
   146 	        <runtarget target="sf-os-compile"/>
   147       <else>
   147 	   </else>
   148         <!-- TODO targets for single sysdef build -->
   148     </if>
   149         <runtarget target="sf-os-compile"/>
   149        <!-- always run cenrep -->
   150       </else>
   150        <runtarget target="sf-s60-create-cenrep"/>
   151     </if>
   151 
   152 
       
   153     <!-- always run cenrep -->
       
   154     <runtarget target="sf-s60-create-cenrep"/>
       
   155     <stopwatch name="sf-compile" action="elapsed"/>
   152   </target>
   156   </target>
   153 
   157 
   154   <!--
   158   <!--
   155     == Name: SF-OS-COMPILE
   159     == Name: SF-OS-COMPILE
   156     ==
   160     ==