common/templates/source-spec.ant.xml.ftl
changeset 856 0e553fdaa218
parent 799 49167a0e38cf
child 890 41f3579ef67e
equal deleted inserted replaced
855:9d6a5309852c 856:0e553fdaa218
    21     <!-- remove previous version of BOM file (if exists)  -->
    21     <!-- remove previous version of BOM file (if exists)  -->
    22     <target name="reset-bom-sources-csv">
    22     <target name="reset-bom-sources-csv">
    23         <delete file="${ant['build.drive']}/output/logs/BOM/sources.csv" quiet="true"/>
    23         <delete file="${ant['build.drive']}/output/logs/BOM/sources.csv" quiet="true"/>
    24     </target>
    24     </target>
    25 
    25 
    26 <#list data as pkg_detail>
    26 <#list data as csv_file>
       
    27   <#list csv_file as pkg_detail>
    27     <target name="sf-prebuild-${count}">
    28     <target name="sf-prebuild-${count}">
    28         <sequential>
    29         <sequential>
    29             <!-- create sf\layer dir  -->
    30             <!-- create sf\layer dir  -->
    30             <mkdir dir="${ant['build.drive']}${pkg_detail.dst}"/>
    31             <mkdir dir="${ant['build.drive']}${pkg_detail.dst}"/>
    31             <delete dir="${ant['build.drive']}${pkg_detail.dst}" failonerror="false" />
    32             <delete dir="${ant['build.drive']}${pkg_detail.dst}" failonerror="false" />
   134     <#assign fileset = "${fileset}" + "<fileset dir=\"${ant['build.drive']}${pkg_detail.dst}\" includes=\"${pkg_detail.sysdef}\"/>\r\n        " />       
   135     <#assign fileset = "${fileset}" + "<fileset dir=\"${ant['build.drive']}${pkg_detail.dst}\" includes=\"${pkg_detail.sysdef}\"/>\r\n        " />       
   135     <#assign sync_list = "${sync_list}" + "<runtarget target=\"sf-prebuild-${count}\"/>\r\n    "/>
   136     <#assign sync_list = "${sync_list}" + "<runtarget target=\"sf-prebuild-${count}\"/>\r\n    "/>
   136     <#assign bom_list = "${bom_list}" + "<runtarget target=\"sf-bom-info-${count}\"/>\r\n  "/>
   137     <#assign bom_list = "${bom_list}" + "<runtarget target=\"sf-bom-info-${count}\"/>\r\n  "/>
   137     <#assign change_list = "${change_list}" + "<runtarget target=\"sf-bom-change-info-${count}\"/>\r\n  "/>
   138     <#assign change_list = "${change_list}" + "<runtarget target=\"sf-bom-change-info-${count}\"/>\r\n  "/>
   138     <#assign count = count + 1 />
   139     <#assign count = count + 1 />
       
   140   </#list>
   139 </#list>
   141 </#list>
   140 
   142 
   141     <path id="system.definition.files">
   143     <path id="system.definition.files">
   142         <fileset dir="${dollar}{sf.common.config.dir}/sysdefs" includes="*.sysdef.xml"/>
   144         <fileset dir="${dollar}{sf.common.config.dir}/sysdefs" includes="*.sysdef.xml"/>
   143         ${fileset}
   145         ${fileset}