Truclean should not be performed if the sources.csv line doesn't have a sysdef field
authorDario Sestito <darios@symbian.org>
Thu, 20 Aug 2009 10:44:38 +0100
changeset 370 6a77c1534c7f
parent 369 13fa826ea048
child 371 fcb6057a8009
Truclean should not be performed if the sources.csv line doesn't have a sysdef field
common/templates/truclean.ant.xml.ftl
--- a/common/templates/truclean.ant.xml.ftl	Wed Aug 19 18:13:24 2009 +0100
+++ b/common/templates/truclean.ant.xml.ftl	Thu Aug 20 10:44:38 2009 +0100
@@ -6,6 +6,8 @@
 <#assign dollar="$"/>
 
 <#list data as pkg_detail>
+  <#if pkg_detail.sysdef != "">
+  
 <target name="sf-truclean-${count}">
   <sequential>
     <propertyregex override="yes" property="package"  input="${pkg_detail.dst}" regexp=".*sf[\\\/]([^\\^\/]+)[\\\/]([^\\^\/]+)" replace="\1/\2"/>
@@ -25,6 +27,8 @@
     <#assign target_depends="${target_depends}"+","+"sf-truclean-${count}"/>
   </#if>
   <#assign count=count+1/>
+
+  </#if>
 </#list>
 
 <target name="all" depends="${target_depends}"/>