allow rewrite of map entries
diff --git a/releng.wtpbuilder/scripts/build/maptasks.xml b/releng.wtpbuilder/scripts/build/maptasks.xml
index b7bdcbf..1264b15 100644
--- a/releng.wtpbuilder/scripts/build/maptasks.xml
+++ b/releng.wtpbuilder/scripts/build/maptasks.xml
@@ -78,16 +78,16 @@
name="mapTag"
value="${mapVersionTag}"/>
</ant>
- <ant
- antfile="${wtp.builder.home}/scripts/build/maptasks.xml"
- target="maputil">
- <property
- name="mapcomponent"
- value="${env.RELENGJSDT}"/>
- <property
- name="mapTag"
- value="${mapVersionTag}"/>
- </ant>
+ <ant
+ antfile="${wtp.builder.home}/scripts/build/maptasks.xml"
+ target="maputil">
+ <property
+ name="mapcomponent"
+ value="${env.RELENGJSDT}"/>
+ <property
+ name="mapTag"
+ value="${mapVersionTag}"/>
+ </ant>
<ant
antfile="${wtp.builder.home}/scripts/build/maptasks.xml"
target="maputil">
@@ -211,12 +211,12 @@
name="cvsPackage"
value="${mapcomponent}"/>
</antcall>
- <antcall
- target="rewriteMaps">
- <param
- name="cvsPackage"
- value="${mapcomponent}"/>
- </antcall>
+ <antcall
+ target="rewriteMaps">
+ <param
+ name="cvsPackage"
+ value="${mapcomponent}"/>
+ </antcall>
</target>
@@ -270,22 +270,30 @@
reallyquiet="${env.CVS_REALLY_QUIET}"/>
</target>
<!--
- rewriteMaps tasks changes the
- "standard" eclipse map protocol, user, and host name
- Since this should not be required (or used) during production builds,
- and since machine and user specific, a good place to define the value,
- rewriteMapsLine, is in
- ${env.LOCAL_BUILD_PROPERTIES_DIR}/maptasks.properties
- If rewriteMapsLine exists, it is assume it is desired to rewrite, and
- the value of rewriteMapsLine will be used. It must be a complete replacement for
- :pserver:anonymous@dev.eclipse.org:
- such as
- :ext:david_williams@dev.eclipse.org:
+ rewriteMaps tasks changes the "standard" eclipse map protocol,
+ user, and host name Since this should not be required (or used)
+ during production builds, and since machine and user specific, a
+ good place to define the value, rewriteMapsLine, is in
+ ${env.LOCAL_BUILD_PROPERTIES_DIR}/maptasks.properties If
+ rewriteMapsLine exists, it is assume it is desired to rewrite,
+ and the value of rewriteMapsLine will be used. It must be a
+ complete replacement for :pserver:anonymous@dev.eclipse.org:
+ such as :ext:david_williams@dev.eclipse.org:
-->
<target
name="rewriteMaps"
if="rewriteMapsLine">
- <echo message="rewriteMapsLine: ${rewriteMapsLine}" />
+ <echo
+ message="rewriteMapsLine: ${rewriteMapsLine}"/>
+ <available
+ property="packageExists"
+ file="${buildDirectory}/maps/${cvsPackage}"/>
+ <antcall
+ target="rewritePackage"/>
+ </target>
+ <target
+ name="rewritePackage"
+ if="packageExists">
<replace
dir="${buildDirectory}/maps/${cvsPackage}"
token=":pserver:anonymous@dev.eclipse.org:"