Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » p2.inf in build.properties
p2.inf in build.properties [message #493869] Wed, 28 October 2009 10:32 Go to next message
Eclipse UserFriend
Originally posted by: luzi.anderegg.ergon.ch

If I provide a p2.inf file with a plug-in or feature, do I have to
include it in the binary build?

Thanks,
Luzi
Re: p2.inf in build.properties [message #493981 is a reply to message #493869] Wed, 28 October 2009 16:13 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
This depends on how you are doing your build.

In 3.4, p2/build integration worked by generating metadata based on the
built binary plug-in/feature. This meant that the p2.inf needed to be
included in the binary.

In 3.5 build was enhanced to generate metadata base on your source, in
this case the p2.inf does not need to be included in the binary.

In your headless build the "generate.p2.metadata=true" uses the old 3.4
style metadata generation, and the property "p2.gathering=true" uses the
new 3.5 publishing. Exporting products from the UI also uses the new
publishing.

Note also that the 3.5 metadata publishing supports many more properties
in the p2.inf than the old 3.4 style generation does.

I would suggest using the new 3.5 style build (p2.gathering=true). Then
the decision of whether to include the p2.inf comes down to whether you
care if your metadata can be recreated by someone else just by looking
at the binary bundle.

-Andrew

Luzi Anderegg wrote:
> If I provide a p2.inf file with a plug-in or feature, do I have to
> include it in the binary build?
>
> Thanks,
> Luzi
Previous Topic:servletbridge changes
Next Topic:Java Security with Equinox OSGi
Goto Forum:
  


Current Time: Thu Apr 25 05:52:46 GMT 2024

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

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

Back to the top