Using p2 model to generate a p2 site [message #521750] |
Thu, 18 March 2010 12:33  |
Eclipse User |
|
|
|
Hi,
I am about to start implementing p2 publishing support in b3 engine.
My approach is to use the p2 ecore model in the aggregator, and hoping
that there is code there that I can just call.
Two questions...
- The p2 model is nested at the moment. Should we break it out into its
own bundle?
- Once I have populated a p2 model, how to I write it out as a "p2 repo
on disk" ?
- henrik
|
|
|
|
|
|
Re: Using p2 model to generate a p2 site [message #603469 is a reply to message #522900] |
Wed, 24 March 2010 14:34  |
Eclipse User |
|
|
|
On 3/24/10 1:47 PM, Filip Hrbek wrote:
> Sorry for late answer. Comments inside. I can help with implementing
> the changes if you like.
>
> Filip
>
> Henrik Lindberg wrote:
>> Hi,
>> I am about to start implementing p2 publishing support in b3 engine.
>> My approach is to use the p2 ecore model in the aggregator, and hoping
>> that there is code there that I can just call.
>>
>> Two questions...
>> - The p2 model is nested at the moment. Should we break it out into its
>> own bundle?
>>
>
> Yes, I think that it would be nice to share one common p2 model for
> everything in b3.
>
I logged this issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=306979
>
>> - Once I have populated a p2 model, how to I write it out as a "p2 repo
>> on disk" ?
>
> Currently we can only read a p2 repository into the model. We have
> "importToModel" methods which scan the original p2 structure and copy it
> into the EMF model. Perhaps we need to write inverse methods to push the
> model into a native p2 repository instance to be able to store it.
....and this issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=306980
- henrik
|
|
|
Powered by
FUDForum. Page generated in 0.04280 seconds