338481 - use :local: to rewrite maps during production build
diff --git a/releng.wtpbuilder/scripts/build/maptasks.xml b/releng.wtpbuilder/scripts/build/maptasks.xml
index 1f3d1fc..d8b1075 100644
--- a/releng.wtpbuilder/scripts/build/maptasks.xml
+++ b/releng.wtpbuilder/scripts/build/maptasks.xml
@@ -282,9 +282,9 @@
         <echo message="unrewriteMapsLine: ${unrewriteMapsLine}"/>
 	       <!-- we have to check for existence, since in some builds, such as maintenance, 
 	              we check out all maps, but not all maps have been branched. -->
-        <available
+        <!-- <available
             property="packageExists"
-            file="${buildDirectory}/maps/${cvsPackage}"/>
+            file="${buildDirectory}/maps/${cvsPackage}"/> -->
         <antcall target="unrewritePackage"/>
     </target>
     <target
@@ -311,16 +311,16 @@
     </target>
 
     <target
-        name="unrewritePackage"
-        if="packageExists">
+        name="unrewritePackage">
+        <!-- if="packageExists"> -->
         <replace
-            dir="${buildDirectory}/maps/${cvsPackage}"
+            dir="${buildDirectory}/maps/"
             token="${rewriteMapsLine}"
             value="${unrewriteMapsLine}">
             <include name="**/*.map"/>
         </replace>
        <replace
-           dir="${buildDirectory}/"
+           dir="${buildDirectory}"
            token="\:local\:"
            value="\:pserver\:anonymous@dev.eclipse.org\:">
            <include name="sourceReferences.properties"/>