common/templates/source-spec.ant.xml.ftl
changeset 896 e7f07235b184
parent 893 f4d702959f07
child 897 53bb02c83036
equal deleted inserted replaced
895:5b76b79b6713 896:e7f07235b184
     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     <!-- Convert \s in cache location, because otherwise they disappear entirely when used in a regex replacement! -->
       
     5     <propertyregex property="sf.spec.sourcesync.cachelocation.for.regex" input="${dollar}{sf.spec.sourcesync.cachelocation}" regexp="\\" replace="/" global="true" defaultValue="${dollar}{sf.spec.sourcesync.cachelocation}"/>
       
     6     
     4 <#assign fileset = "" />
     7 <#assign fileset = "" />
     5 <#assign sync_list = "" />
     8 <#assign sync_list = "" />
     6 <#assign bom_list  = "" />
     9 <#assign bom_list  = "" />
     7 <#assign change_list  = "" />
    10 <#assign change_list  = "" />
     8 <#assign dollar = "$"/>
    11 <#assign dollar = "$"/>
    18         
    21         
    19         <if>
    22         <if>
    20             <istrue value="${dollar}{sf.spec.sourcesync.usecache}"/>
    23             <istrue value="${dollar}{sf.spec.sourcesync.usecache}"/>
    21             <then>
    24             <then>
    22                 <!-- Work out cache location from source location -->
    25                 <!-- Work out cache location from source location -->
    23                 <propertyregex property="sf.spec.sourcesync.cachelocation.${count}" input="${pkg_detail.source}" regexp="^http://developer.symbian.org/" casesensitive="false" replace="${dollar}{sf.spec.sourcesync.cachelocation}/Live/"/>
    26                 <propertyregex property="sf.spec.sourcesync.cachelocation.${count}" input="${pkg_detail.source}" regexp="^http://developer.symbian.org/" casesensitive="false" replace="${dollar}{sf.spec.sourcesync.cachelocation.for.regex}/Live/"/>
    24 		<propertyregex property="sf.spec.sourcesync.cachelocation.${count}" input="${pkg_detail.source}" regexp="^${ant['sf.spec.sourcesync.local.development.area']}/" casesensitive="false" replace="${dollar}{sf.spec.sourcesync.cachelocation}/LocalDev/"/>
    27                 <propertyregex property="sf.spec.sourcesync.cachelocation.${count}" input="${pkg_detail.source}" regexp="^${ant['sf.spec.sourcesync.local.development.area']}/" casesensitive="false" replace="${dollar}{sf.spec.sourcesync.cachelocation.for.regex}/LocalDev/"/>
    25             </then>
    28             </then>
    26         </if>
    29         </if>
    27 	
    30 	
    28         <if>
    31         <if>
    29             <and>
    32             <and>