Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342363

Summary: [documentation] PDEMapProvider needs a way to do token substitution in the map files.
Product: z_Archived Reporter: Thomas Hallgren <thomas>
Component: BuckminsterAssignee: buckminster.core-inbox <buckminster.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 342354    
Bug Blocks:    

Description Thomas Hallgren CLA 2011-04-10 03:07:09 EDT
+++ This bug was initially created as a clone of Bug #342354 +++

See original bug for a detailed explanation. Here is a sample rmap with a PDEMapProvider that uses the new construct:

<?xml version="1.0" encoding="UTF-8"?>
<rm:rmap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:pde="http://www.eclipse.org/buckminster/PDEMapProvider-1.0" xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0">
  <rm:property key="platform.repo" value="http://download.eclipse.org/eclipse/updates/3.7-I-builds"/>
  <rm:locator searchPathRef="orion.maps"/>
  <rm:searchPath name="orion.maps">
    <rm:provider xsi:type="pde:PDEMapProvider" componentTypes="osgi.bundle,eclipse.feature" readerType="git">
      <rm:property key="git.remote.uri" value="dev.eclipse.org:/gitroot/e4/org.eclipse.orion.server.git"/>
      <rm:uri format="{0}/org.eclipse.orion.server.git,releng/org.eclipse.orion.releng/maps">
        <bc:propertyRef key="workspace.root"/>
      </rm:uri>
      <pde:replace pattern="ECLIPSE_PLATFORM_REPO" replacement="\$\{platform.repo\}"/>
    </rm:provider>
  </rm:searchPath>
</rm:rmap>