Hi,
I build my RCP product using the headless Buckminster. I have defined a target platform in a .target file. All plugins here was defined as local jar files relative to the .target file itself. So far so good.
Now I would like to add a p2 site to the target platform:
<location includeAllPlatforms="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.nebula.widgets.nattable.core.feature.feature.group" version="1.0.1.201311051257"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.glazedlists.feature.feature.group" version="1.0.1.201311051257"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.poi.feature.feature.group" version="1.0.1.201311051257"/>
<repository location="http://download.eclipse.org/nattable/snapshots/205/repository"/>
</location>
But the Buckminster is not able to fetch the nattable plugins now. From the log I can see that
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Using resolver Local resolver
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Trying provider local(materialized)
No materialization found for org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Trying provider local(workspace)
No open workspace project found that corresponds to org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Trying provider local(target)
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Rejecting provider eclipse.platform(plugin/org.eclipse.nebula.widgets.nattable.core): No component match was found
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Using resource map file:/D:/HUDSON_HOME/jobs/Spl%20-%20Client%20(RCP%20product)/workspace/Spl/cz.tigra.spl.site/site.rmap
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Using search path resources
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Trying provider local(file:///{0}/Spl/{1}/[file:///D:/HUDSON_HOME/jobs/Spl - Client (RCP product)/workspace/Spl/org.eclipse.nebula.widgets.nattable.core/])
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Found match
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Using provider local(file:///{0}/Spl/{1}/[file:///D:/HUDSON_HOME/jobs/Spl - Client (RCP product)/workspace/Spl/org.eclipse.nebula.widgets.nattable.core/])
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: Resolution attempt ended with exception: Provider local(file:///D:/HUDSON_HOME/jobs/Spl - Client (RCP product)/workspace/Spl/org.eclipse.nebula.widgets.nattable.core/): Missing CSpec source required by component type osgi.bundle
org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1: No provider was found that could resolve the request
ERROR [0050] : No suitable provider for component org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1 was found in resourceMap file:/D:/HUDSON_HOME/jobs/Spl%20-%20Client%20(RCP%20product)/workspace/Spl/cz.tigra.spl.site/site.rmap
ERROR [0050] : No suitable provider for component org.eclipse.nebula.widgets.nattable.core:osgi.bundle/1.0.1 was found in searchPath resources
ERROR [0050] : Resolution attempt ended with exception: Provider local(file:///D:/HUDSON_HOME/jobs/Spl - Client (RCP product)/workspace/Spl/org.eclipse.nebula.widgets.nattable.core/): Missing CSpec source required by component type osgi.bundle
ERROR Provider local(file:///D:/HUDSON_HOME/jobs/Spl - Client (RCP product)/workspace/Spl/org.eclipse.nebula.widgets.nattable.core/): Missing CSpec source required by component type osgi.bundle
My rmap file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<rmap
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0"
xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
xmlns:pp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0">
<searchPath name="resources">
<provider readerType="local" componentTypes="osgi.bundle,eclipse.feature"
mutable="true" source="true">
<uri format="file:///{0}/Spl/{1}/">
<bc:propertyRef key="workspace.root" />
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
</searchPath>
<locator searchPathRef="resources"/>
</rmap>