If found then export cli_build_error.log to logs directory
authorshaber@UK-SHABER
Wed, 29 Apr 2009 10:51:22 +0100
changeset 72 4846dd5df20a
parent 71 cc9038ba0f21
child 73 b8d6af733d6d
If found then export cli_build_error.log to logs directory
sf-platform/build.xml
--- a/sf-platform/build.xml	Tue Apr 28 17:43:37 2009 +0100
+++ b/sf-platform/build.xml	Wed Apr 29 10:51:22 2009 +0100
@@ -416,7 +416,7 @@
 
 	<target name="sf-s60-create-cenrep">
         <echo message="INFO Generating CenRep"/>
-        <exec executable="${helium.dir}/../ConfigurationTool/cli_build.cmd" dir="${build.drive}" failonerror="true" output="${build.log.dir}/${build.id}_create_cenrep.log">
+        <exec executable="${helium.dir}/../ConfigurationTool/cli_build.cmd" dir="${build.drive}" failonerror="false" output="${build.log.dir}/${build.id}_create_cenrep.log">
 		  <arg value="-master_conf"/>
 		  <arg value="s60"/>
 		  <arg value="-impl"/>
@@ -425,6 +425,14 @@
 		  <arg value="/epoc32/rom/config/confml_data/s60"/>
 		  <arg value="-ignore_errors"/>
         </exec>
+		
+		<if><available  file="${build.drive}/cli_build_error.log" />
+		<then>
+            <echo message="INFO CenRep error log found, moving to ${build.log.dir}" />
+    		<move file="${build.drive}/cli_build_error.log" todir="${build.log.dir}" failonerror="false"/>
+		</then>
+		</if>
+		
 	</target>
 
   <!-- import sf-common-config -->