Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Eclipse Plug-in Development

You're reading from   Mastering Eclipse Plug-in Development Build modular applications on Eclipse by defining custom extension points and using OSGi services

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781783287796
Length 362 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Bandlem Limited Bandlem Limited
Author Profile Icon Bandlem Limited
Bandlem Limited
Alex Blewitt Alex Blewitt
Author Profile Icon Alex Blewitt
Alex Blewitt
Arrow right icon
View More author details
Toc

P2 repositories


Repositories consist of a set of installable units, which are built from a set of features and plug-ins, optionally organized into categories. In Eclipse, a special Update Site project can be used to represent the set of features in a development environment, or it can be used as the source for a Tycho eclipse-repository build. An Update Site project can be created by navigating to File | New | Other | Plug-in Development | Update Site Project:

A feature can be built by clicking on the Build All or by highlighting the feature and clicking on Build:

The feature will be named features/name_version.timestamp.jar, along with two files, artifacts.jar and content.jar. These two files are generated by the export mechanism and contain the set of P2 data that is required for the content to be visible to P2 installers. A similar option is presented if the feature is exported on its own via the Generate P2 repository checkbox; for this, navigate to File | Export | Plug-in Development...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image