sf-platform/build.xml
changeset 785 cf98fb6a1da9
parent 700 660b634546aa
child 804 4d736e733cd5
equal deleted inserted replaced
765:2892c791ce6c 785:cf98fb6a1da9
   491 			</antcall>
   491 			</antcall>
   492 		
   492 		
   493 	</target>
   493 	</target>
   494 
   494 
   495 	<target name="sf-s60-create-cenrep">
   495 	<target name="sf-s60-create-cenrep">
   496         <echo message="INFO Generating CenRep"/>
   496     <echo message="INFO Generating CenRep"/>
   497         <exec executable="${helium.dir}/../ConfigurationTool/cli_build.cmd" dir="${build.drive}" failonerror="false" output="${build.log.dir}/${build.id}_create_cenrep.log">
   497     <echo message="Move 'sf.spec.s60.cenrep.export.location' out of the build..."/>
   498 		  <arg value="-master_conf"/>
   498     <property name="sf.spec.s60.cenrep.export.location.1" value="epoc32/rom/config/confml_data"/>
   499 		  <arg value="s60"/>
   499     <property name="sf.spec.s60.cenrep.export.location.2" value="epoc32/rom/config/assets"/>
   500 		  <arg value="-impl"/>
   500 
   501 		  <arg value="/epoc32/rom/config/confml_data/s60"/>
   501 		<if><available file="${build.drive}/${sf.spec.s60.cenrep.export.location.1}" type="dir"/>
   502 		  <arg value="-confml"/>
   502   		<then>
   503 		  <arg value="/epoc32/rom/config/confml_data/s60"/>
   503     		<property name="sf.spec.s60.cenrep.export.location" value="${sf.spec.s60.cenrep.export.location.1}"/>
   504 		  <arg value="-ignore_errors"/>
   504       </then>
   505         </exec>
   505       <else>
       
   506     		<property name="sf.spec.s60.cenrep.export.location" value="${sf.spec.s60.cenrep.export.location.2}"/>
       
   507       </else>
       
   508       </if>
       
   509     <echo message="${helium.dir}/../ConfigurationTool/cli_build.cmd -master_conf s60 -impl ${sf.spec.s60.cenrep.export.location} -confml ${sf.spec.s60.cenrep.export.location} -ignore_errors" />  
       
   510     <exec executable="${helium.dir}/../ConfigurationTool/cli_build.cmd" dir="${build.drive}" failonerror="false" output="${build.log.dir}/${build.id}_create_cenrep.log">
       
   511       <arg value="-master_conf"/>
       
   512       <arg value="s60"/>
       
   513       <arg value="-impl"/>
       
   514       <arg value="${sf.spec.s60.cenrep.export.location}"/>
       
   515       <arg value="-confml"/>
       
   516       <arg value="${sf.spec.s60.cenrep.export.location}"/>
       
   517       <arg value="-ignore_errors"/>
       
   518     </exec>
   506 		
   519 		
   507 		<if><available  file="${build.drive}/cli_build_error.log" />
   520 		<if><available  file="${build.drive}/cli_build_error.log" />
   508 		<then>
   521 		<then>
   509             <echo message="INFO CenRep error log found, moving to ${build.log.dir}" />
   522             <echo message="INFO CenRep error log found, moving to ${build.log.dir}" />
   510     		<move file="${build.drive}/cli_build_error.log" todir="${build.log.dir}" failonerror="false"/>
   523     		<move file="${build.drive}/cli_build_error.log" todir="${build.log.dir}" failonerror="false"/>