common/templates/source-spec.ant.xml.ftl
changeset 1044 0f6ffc604b5c
parent 1043 2c948b30191c
child 1161 7659931b2194
equal deleted inserted replaced
1043:2c948b30191c 1044:0f6ffc604b5c
    21     	<!-- if defined the revision override take that as revision and change the url to point to FCL -->
    21     	<!-- if defined the revision override take that as revision and change the url to point to FCL -->
    22     	<if>
    22     	<if>
    23     		<not><equals arg1="${ant['sf.spec.sources.revision']}" arg2="" trim="true"/></not>
    23     		<not><equals arg1="${ant['sf.spec.sources.revision']}" arg2="" trim="true"/></not>
    24     		<then>
    24     		<then>
    25     			<property name="sources.${count}.revision" value="${ant['sf.spec.sources.revision']}"/>
    25     			<property name="sources.${count}.revision" value="${ant['sf.spec.sources.revision']}"/>
    26     			<propertyregex property="sources.${count}.URL" input="${pkg_detail.source}" regexp="/MCL/" casesensitive="false" replace="/FCL/"/>
    26     			<propertyregex property="sources.${count}.URL" input="${pkg_detail.source}" regexp="/MCL/" casesensitive="false" replace="/FCL/" defaultValue="${pkg_detail.source}"/>
    27     		</then>
    27     		</then>
    28     		<else>
    28     		<else>
    29     			<property name="sources.${count}.revision" value="${pkg_detail.pattern}"/>
    29     			<property name="sources.${count}.revision" value="${pkg_detail.pattern}"/>
    30     			<property name="sources.${count}.URL" value="${pkg_detail.source}"/>
    30     			<property name="sources.${count}.URL" value="${pkg_detail.source}"/>
    31     		</else>
    31     		</else>