common/templates/source-spec.ant.xml.ftl
changeset 43 e782ed26b791
parent 42 4db6721a5a24
child 46 68c06bb4fbe2
equal deleted inserted replaced
42:4db6721a5a24 43:e782ed26b791
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2 <project name="SF-SOURCESPEC" default="all" xmlns:hlm="http://www.nokia.com/helium">
     2 <project name="SF-SOURCESPEC" default="all" xmlns:hlm="http://www.nokia.com/helium">
     3 
     3 
     4 <#assign fileset = "" />
     4 <#assign fileset = "" />
     5 <#assign target_depends = "reset-bom-sources-csv" />
     5 <#assign target_depends = "" />
     6 <#assign dollar = "$"/>
     6 <#assign dollar = "$"/>
     7 <#assign count = 0 />
     7 <#assign count = 0 />
     8 
     8 
     9     <target name="reset-bom-sources-csv">
     9     <target name="reset-bom-sources-csv">
    10         <delete file="${ant['build.drive']}/output/BOM/sources.csv" quiet="true"/>
    10         <delete file="${ant['build.drive']}/output/BOM/sources.csv" quiet="true"/>
    43         </sequential>
    43         </sequential>
    44     </target>
    44     </target>
    45     <#assign fileset = "${fileset}" + "<fileset dir=\"${ant['build.drive']}${pkg_detail.dst}\" includes=\"${pkg_detail.pattern}\"/>" />
    45     <#assign fileset = "${fileset}" + "<fileset dir=\"${ant['build.drive']}${pkg_detail.dst}\" includes=\"${pkg_detail.pattern}\"/>" />
    46     
    46     
    47     <#if (count == 0) >
    47     <#if (count == 0) >
    48     				<#assign target_depends = "${target_depends}" + "sf-prebuild-${count}" />
    48     				<#assign target_depends = "reset-bom-sources-csv," + "sf-prebuild-${count}" />
    49     </#if>
    49     </#if>
    50     <#if (count > 0) >
    50     <#if (count > 0) >
    51             <#assign target_depends ="${target_depends}" + ","+"sf-prebuild-${count}"/>
    51             <#assign target_depends ="${target_depends}," + "sf-prebuild-${count}"/>
    52     </#if>
    52     </#if>
    53     
    53     
    54     <#assign count = count + 1 />
    54     <#assign count = count + 1 />
    55 
    55 
    56 </#list>
    56 </#list>