common/templates/truclean.ant.xml.ftl
changeset 370 6a77c1534c7f
parent 242 51e429810aba
child 1053 48c4655ae39e
equal deleted inserted replaced
369:13fa826ea048 370:6a77c1534c7f
     4 <#assign target_depends=""/>
     4 <#assign target_depends=""/>
     5 <#assign count=0/>
     5 <#assign count=0/>
     6 <#assign dollar="$"/>
     6 <#assign dollar="$"/>
     7 
     7 
     8 <#list data as pkg_detail>
     8 <#list data as pkg_detail>
       
     9   <#if pkg_detail.sysdef != "">
       
    10   
     9 <target name="sf-truclean-${count}">
    11 <target name="sf-truclean-${count}">
    10   <sequential>
    12   <sequential>
    11     <propertyregex override="yes" property="package"  input="${pkg_detail.dst}" regexp=".*sf[\\\/]([^\\^\/]+)[\\\/]([^\\^\/]+)" replace="\1/\2"/>
    13     <propertyregex override="yes" property="package"  input="${pkg_detail.dst}" regexp=".*sf[\\\/]([^\\^\/]+)[\\\/]([^\\^\/]+)" replace="\1/\2"/>
    12     <echo message="Calling truclean script for package ${dollar}{package}"/>
    14     <echo message="Calling truclean script for package ${dollar}{package}"/>
    13       <exec executable="perl" dir="${ant['build.drive']}/" failonerror="false" output="${ant['build.log.dir']}/truclean.log">
    15       <exec executable="perl" dir="${ant['build.drive']}/" failonerror="false" output="${ant['build.log.dir']}/truclean.log">
    23   </#if>
    25   </#if>
    24   <#if (count>0)>
    26   <#if (count>0)>
    25     <#assign target_depends="${target_depends}"+","+"sf-truclean-${count}"/>
    27     <#assign target_depends="${target_depends}"+","+"sf-truclean-${count}"/>
    26   </#if>
    28   </#if>
    27   <#assign count=count+1/>
    29   <#assign count=count+1/>
       
    30 
       
    31   </#if>
    28 </#list>
    32 </#list>
    29 
    33 
    30 <target name="all" depends="${target_depends}"/>
    34 <target name="all" depends="${target_depends}"/>
    31 
    35 
    32 </project>
    36 </project>