P2, the new Eclipse provisioning system

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    P2, the new Eclipse provisioning system - Presentation Transcript

    1. p2 The new Eclipse provisioning system © Anyware Technologies-All Right Reserved Benjamin Cabé Anyware Technologies
    2. Agenda • p2, what's that? ►Origins ►Concepts ►Architecture overview • Using p2 ►As a developer © Anyware Technologies-All Right Reserved ►As an ISV ►As an end-user • Coming next (Galileo plan) Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    3. The origins : the « Update Manager » • Assessment ►The plug-in mechanism just rocks... ►... but installing or updating plug-ins by hand is cumbersome • Since Eclipse 2.1: the « Update Manager » ►allows to install & update « features » through GUI... © Anyware Technologies-All Right Reserved ►... which is way too messy for 99% of users Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    4. Update Manager's limitations • The feature doesn't fit all needs... ►deliver a product in different but very similar shapes? ►install more than just plug-ins & features? • ...neither does the update site ►ship features through different mirrors? © Anyware Technologies-All Right Reserved ►allow the end-user to perform the « initial » provisioning? Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    5. Here comes p2! • Reworked UI ►simplified workflow ►better performances • Provision the world! ►plug-ins, .exe, .ini, ... whatever © Anyware Technologies-All Right Reserved • A very modular framework ►provision more than just Eclipse stuff ►controllable from the outside “If it can be installed, it runs!” Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    6. Key features • Optimized updates & installs ►multithreaded downloads ►best mirror automatically picked • “Bundle pooling” ►shared plug-ins across many Eclipse instances © Anyware Technologies-All Right Reserved • Low-level provisioning APIs ►headless mode ►update a non-running instance • Installer Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    7. The concepts • Installable Unit : ►the description of what is being installed ►ID, version ►dependencies ►actions to perform during install / uninstall / ... © Anyware Technologies-All Right Reserved ►physical artifacts (optional) Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    8. The concepts (2) • Installable Units are stored in a metadata repository • The actual content (plug-ins, zips, ...) lives in an © Anyware Technologies-All Right Reserved artifact repository Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    9. Useful terminology • Profile ►the target of the installed stuff • Planner ►the entity that converts a list of IUs to install in a © Anyware Technologies-All Right Reserved given profile into provisioning steps Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    10. Useful terminology (2) • Engine ►the mechanism for executing provisioning requests • Touchpoint ►the part of the engine © Anyware Technologies-All Right Reserved that actually integrates the provisioning system in a given platform Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    11. « Big Picture » © Anyware Technologies-All Right Reserved Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    12. Using p2... as an Eclipse developer • Save hundreds of Mb thanks to bundle pooling • Describe a well-defined, reproducible, development environment © Anyware Technologies-All Right Reserved • Use the dropins folder to perform quick installs • Manage target platforms elegantly Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    13. Using p2... as an ISV • Deliver an installer on a CD or an USB key • Propose different flavours of your product depending on the customer © Anyware Technologies-All Right Reserved • Deploy a mirror in your customer's information system Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    14. Using p2... as an end-user • Get automatic updates • Enjoy a clean uninstalling process • Get annoyed by some bugs or missing © Anyware Technologies-All Right Reserved documentation but... • ...Just relax! Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    15. Coming next • A real p2 API • User interaction ►improve progress/error reporting ►tighter desktop integration (shortcuts, registry keys, ...) • Tooling / Authoring © Anyware Technologies-All Right Reserved ►IU editor ►Repository editors (artifact & metadata) • IBM, Cloudsmith, Siemens AG, Genuitec, Anyware Technologies... YOU! Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    16. Useful resources • The Eclipse wiki: ►http://wiki.eclipse.org/Equinox_p2 • The p2 newsgroup (general issues) ►news://news.eclipse.org/eclipse.technology.equinox © Anyware Technologies-All Right Reserved • The p2-dev mailing list (technical questions) ►https://dev.eclipse.org/mailman/listinfo/p2-dev Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    17. Thank you! Benjamin Cabé Eclipse Expert <benjamin.cabe@anyware-tech.com> © Anyware Technologies-All Right Reserved http://blog.benjamin-cabe.com http://www.anyware-tech.com Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    18. Legal notices • Eclipse and the Eclipse logo are trademarks of Eclipse Foundation, Inc. • OSGi is a registered trademark of the OSGi Alliance in the United States, other countries or both. • Other company, product, or service names may be © Anyware Technologies-All Right Reserved trademarks or service marks of others Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence
    19. Photo & Illustration credits • Michal Zacharzewski ► http://www.sxc.hu/photo/953139 • G Schouten de Jel ► http://www.sxc.hu/photo/1090308 • Andrej Sevelin ► http://www.sxc.hu/photo/892243 • Dave Di Biase ► http://www.sxc.hu/photo/204676 © Anyware Technologies-All Right Reserved • dunkv@flickr ► http://www.flickr.com/photos/dunkv/97119622 • Cathy Kaplan ► http://www.sxc.hu/photo/283374 • Mac Pale ► http://www.sxc.hu/photo/956527 Copyright © 2008 Anyware Technologies, Made available under the Creative Commons Attribution-Non commercial-No derivative 2.0 licence

    + Benjamin CabéBenjamin Cabé, 2 years ago

    custom

    1810 views, 1 favs, 3 embeds more stats

    An introduction to the p2 platform, and a brief pre more

    More info about this document

    CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

    Go to text version

    • Total Views 1810
      • 1569 on SlideShare
      • 241 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 3
    Most viewed embeds
    • 237 views on http://blog.benjamin-cabe.com
    • 3 views on http://feeds.feedburner.com
    • 1 views on http://209.85.229.132

    more

    All embeds
    • 237 views on http://blog.benjamin-cabe.com
    • 3 views on http://feeds.feedburner.com
    • 1 views on http://209.85.229.132

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories