Materialising source bundle into workspace with 3.6 [message #512090] |
Wed, 03 February 2010 16:04  |
Eclipse User |
|
|
|
Hi,
Using the current 3.6 headless version, I can't seem to materialize a source bundle from a p2 update site into the workspace:
java.lang.UnsupportedOperationException
at org.eclipse.buckminster.core.reader.P2ReaderType.getReader(P 2ReaderType.java:170)
at org.eclipse.buckminster.core.reader.AbstractReaderType.getRe ader(AbstractReaderType.java:170)
at org.eclipse.buckminster.core.materializer.FileSystemMaterial izer.materialize(FileSystemMaterializer.java:259)
at org.eclipse.buckminster.core.materializer.MaterializerJob.ru n(MaterializerJob.java:70)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Is this a problem with the current 3.6 version or do I have to make some changes to my mspec wrt the eclipse.import->p2 readerType in 3.6?
My cquery and mspec currently look like this:
<md:mspec xmlns:md="http://www.eclipse.org/buckminster/MetaData-1.0"
name="org.example.project"
url="example.cquery" conflictResolution="KEEP">
<md:mspecNode namePattern="^org\.eclipse\.platform$" componentType="osgi.bundle" materializer="workspace"/>
...
</md:mspec>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="../rmaps/example.rmap">
<cq:rootRequest name="org.example.project" componentType="buckminster"/>
<cq:advisorNode namePattern="^org\.eclipse\.platform$" componentType="osgi.bundle" sourceLevel="REQUIRE"/>
...
</cq:componentQuery>
And the RMap portion like this:
<searchPath name="org.eclipse.platform">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature" mutable="false"
source="true">
<uri format="${p2.url.platform}?importType=source" />
</provider>
...
</searchPath>
TIA
Carsten
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04029 seconds