|Additional p2 utilization actor [message #727531]
||Wed, 21 September 2011 14:00
| R. Oldenburg
Registered: September 2011
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 20:59]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.05144 seconds