Community
Participate
Working Groups
It is very common for projects that use the PDE builder to also use PDE style map files. Buckminster has a special provider for this purpose that first finds such maps using a reader type and then delegates to a new provider that is created on the fly based on the information found in the map files. This works well in most cases, but some builds, like the Orion build for instance, perform token substitution in the map file prior to using it. We find entries like: plugin@org.eclipse.equinox.util=p2IU,id=org.eclipse.equinox.util,repository=ECLIPSE_PLATFORM_REPO In order to cope with this in the RMAP, the PDEMapProvider would need a way to perform the replacements.
Support for this was added by using the already existing <replace>' element with a twist. The <replace> normally applies a regexp on a property declared as a subelement but in this case, no subelement is specified. Instead, the <replace> will act on each line that is read from the map files found by the PDEMapProvider. Fixed in trunk, rev. 11769