Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Materialising source bundle into workspace with 3.6
Materialising source bundle into workspace with 3.6 [message #512090] Wed, 03 February 2010 21:04 Go to next message
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 139
Registered: July 2009
Senior Member
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
Re: Materialising source bundle into workspace with 3.6 [message #512143 is a reply to message #512090] Thu, 04 February 2010 02:32 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Carsten,
This is a regression. Can you please enter a bugzilla on this?

Thanks,
Thomas Hallgren

On 02/03/2010 10:04 PM, Carsten Reckord wrote:
> 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
Re: Materialising source bundle into workspace with 3.6 [message #512178 is a reply to message #512143] Thu, 04 February 2010 10:23 Go to previous message
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 139
Registered: July 2009
Senior Member
Hi Thomas,

Done, https://bugs.eclipse.org/bugs/show_bug.cgi?id=301798

On 04.02.2010 08:04, Thomas Hallgren wrote:
> Hi Carsten,
> This is a regression. Can you please enter a bugzilla on this?
>
> Thanks,
> Thomas Hallgren
Previous Topic:How to make the build 'fail' on a compile error
Next Topic:Aggregator generated Maven compatible Repository
Goto Forum:
  


Current Time: Fri Apr 26 09:57:43 GMT 2024

Powered by FUDForum. Page generated in 0.02932 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top