sf-platform/build.xml
changeset 869 11f6b5e5cd2d
parent 861 caa0601f50c5
child 870 62d784756974
equal deleted inserted replaced
868:a2ab739ff0b0 869:11f6b5e5cd2d
   149         <runtarget target="sf-os-compile"/>
   149         <runtarget target="sf-os-compile"/>
   150       </else>
   150       </else>
   151     </if>
   151     </if>
   152 
   152 
   153     <!-- always run cenrep -->
   153     <!-- always run cenrep -->
   154     <runtarget target="sf-s60-create-cenrep"/>
   154     <if><equals arg1="${sf.spec.job.name}" arg2="symbian2"/>
       
   155     <then>
       
   156         <runtarget target="sf-s60-create-cenrep"/>
       
   157     </then>
       
   158     <else>
       
   159         <!-- symbian3+ should use ConE -->
       
   160         <runtarget target="sf-s60-cone-cenrep"/>
       
   161     </else>
       
   162     </if>
   155     <stopwatch name="sf-compile" action="elapsed"/>
   163     <stopwatch name="sf-compile" action="elapsed"/>
   156   </target>
   164   </target>
   157 
   165 
   158   <!--
   166   <!--
   159     == Name: SF-OS-COMPILE
   167     == Name: SF-OS-COMPILE
   505     		<move file="${build.drive}/cli_build_error.log" todir="${build.log.dir}" failonerror="false"/>
   513     		<move file="${build.drive}/cli_build_error.log" todir="${build.log.dir}" failonerror="false"/>
   506 		</then>
   514 		</then>
   507 		</if>
   515 		</if>
   508 		
   516 		
   509 	</target>
   517 	</target>
   510 
   518     
       
   519     <target name="sf-s60-cone-cenrep">
       
   520         <!-- TODO: Make this better, as multiple exec calls are a bit clunky -->
       
   521         <if><available file="${helium.dir}/../ConE/" type="dir"/>
       
   522         <then>
       
   523         <echo message="INFO Generating ConE CenRep"/>
       
   524 
       
   525             <exec executable="cmd" dir="${build.drive}/epoc32/rom/config" failonerror="false" output="${build.log.dir}/${build.id}_cenrep.log">
       
   526               <arg value="/c"/>
       
   527               <arg value="cone"/>
       
   528               <arg value="generate"/>
       
   529               <arg value="-c"/>
       
   530               <arg value="convert.confml"/>
       
   531               <arg value="-o"/>
       
   532               <arg value="."/>
       
   533             </exec>
       
   534 
       
   535             <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
       
   536               <arg value="/c"/>
       
   537               <arg value="cone"/>
       
   538               <arg value="generate"/>
       
   539               <arg value="-p"/>
       
   540               <arg value="\epoc32\rom\config"/>
       
   541               <arg value="-o"/>
       
   542               <arg value="\epoc32\release\winscw\udeb\z"/>
       
   543               <arg value="-c"/>
       
   544               <arg value="s60_root.confml"/>
       
   545               <arg value="-v"/>
       
   546               <arg value="5"/>
       
   547             </exec>
       
   548             
       
   549             <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
       
   550               <arg value="/c"/>
       
   551               <arg value="cone"/>
       
   552               <arg value="generate"/>
       
   553               <arg value="-p"/>
       
   554               <arg value="\epoc32\rom\config"/>
       
   555               <arg value="-o"/>
       
   556               <arg value="\epoc32\release\winscw\urel\z"/>
       
   557               <arg value="-c"/>
       
   558               <arg value="s60_root.confml"/>
       
   559               <arg value="-v"/>
       
   560               <arg value="5"/>
       
   561             </exec>
       
   562             
       
   563             <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
       
   564               <arg value="/c"/>
       
   565               <arg value="cone"/>
       
   566               <arg value="generate"/>
       
   567               <arg value="-p"/>
       
   568               <arg value="\epoc32\rom\config"/>
       
   569               <arg value="-o"/>
       
   570               <arg value="\epoc32\release\winscw\udeb\z"/>
       
   571               <arg value="-c"/>
       
   572               <arg value="symbianos_root.confml"/>
       
   573               <arg value="-v"/>
       
   574               <arg value="5"/>
       
   575             </exec>
       
   576             
       
   577             <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
       
   578               <arg value="/c"/>
       
   579               <arg value="cone"/>
       
   580               <arg value="generate"/>
       
   581               <arg value="-p"/>
       
   582               <arg value="\epoc32\rom\config"/>
       
   583               <arg value="-o"/>
       
   584               <arg value="\epoc32\release\winscw\urel\z"/>
       
   585               <arg value="-c"/>
       
   586               <arg value="symbianos_root.confml"/>
       
   587               <arg value="-v"/>
       
   588               <arg value="5"/>
       
   589             </exec>
       
   590             
       
   591             <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
       
   592               <arg value="/c"/>
       
   593               <arg value="cone"/>
       
   594               <arg value="generate"/>
       
   595               <arg value="-p"/>
       
   596               <arg value="\epoc32\rom\config"/>
       
   597               <arg value="-o"/>
       
   598               <arg value="\epoc32\data\z"/>
       
   599               <arg value="-c"/>
       
   600               <arg value="symbianos_root.confml"/>
       
   601               <arg value="-v"/>
       
   602               <arg value="5"/>
       
   603             </exec>
       
   604         
       
   605         </then>
       
   606         <else>
       
   607             <echo message="WARNING ConE is required to run this target. ConE not found, please update your PDT."/>
       
   608         </else>
       
   609         </if>
       
   610     </target>
       
   611     
   511 </project>
   612 </project>
   512 
   613