Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Additional p2 repositoriy managing actors
Additional p2 repositoriy managing actors [message #727548] Wed, 21 September 2011 14:04
R. Oldenburg is currently offline R. OldenburgFriend
Messages: 24
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? (If unsure what I am talking about, google for "Ant tasks for managing repositories")

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.
Previous Topic:Additional p2 repositoriy managing actors
Next Topic:Re: ERROR [0002] : Artifact is a folder but the repository is an archive or remote location.
Goto Forum:
  


Current Time: Tue Mar 19 05:11:15 GMT 2024

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

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

Back to the top