| Additional p2 utilization actor [message #727531] |
Wed, 21 September 2011 10:00  |
R. Oldenburg Messages: 23 Registered: September 2011 |
Junior Member |
|
|
Hello all,
I am not that familiar with the submission processes for eclipse projects... So I am not sure, if I am at the right place here...
Wouldn't it be fine to be able to use all the "Ant tasks for managing repositories" from eclipse p2 platform? (I am not allowed to use links here, so google for "Ant tasks for managing repositories" if unsure what I am talking about).
Reason for me was:
I had built an p2 site with a complete product. Then afterwards I did some "sealing logic" on the jars , i.e. by writing to the comment entry in the jar. That logically corrupts the already computed MD5 sum entries in the p2 artifacts xml.
Before anybody asks: No, I could not have done it in an earlier step because of some of the other steps that also do change the resulting jars.
As I could not find any better solution, I did the following: A simple p2.process.artifacts run fixes that issue for me. I did not want to start a complete new eclipse session as buckminster (as far as I have understood) already runs within such instance.
I have built a simple, quick-and-dirty plugin which works as a bridge between "PDE Repository Tools" and "Buckminster".
Analog to the P2SiteGenerator I registered a "p2SiteRebuilder" which currently works like a charm. (And a lot faster than an extra eclipse-antRunner call)
I added my eclipse plugin (directly zipped in workspace) for anybody who is interested.
Obviously I had to break some API limits by using the internal PDE classes.
Maybe anybody in the buckminster team feels encouraged to integrate these op's into the available default buckminster actors.
Or maybe there are solutions that I didn't came across (which could very likely be the case 
Thanks to the buckminster team for the GREAT work on these automation tools.
[Updated on: Tue, 03 January 2012 15:59] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Additional p2 utilization actor [message #911870 is a reply to message #911422] |
Wed, 12 September 2012 09:36  |
Alex Kravets Messages: 339 Registered: November 2009 |
Senior Member |
|
|
|
Even with updating bundles.info same thing. I did manage to call p2.process.artifcats through shell script because <java> task would report that that p2 task could not be found, so at least it works now. Do you know if your feature made it or will make it into Buckminster?
|
|
|
Powered by
FUDForum. Page generated in 0.01857 seconds