1 / 25

p2: Eclipse's Solution to Complicated Installations and Tangled Release Process

Learn about p2, Eclipse's solution for simplifying installations and release processes. Discover the benefits of p2, how it works in action, and what's next for this open-source tool.

ivyc
Download Presentation

p2: Eclipse's Solution to Complicated Installations and Tangled Release Process

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. p2 in the Enterprise David Dodd, Emac Shen

  2. Agenda • Old Days • p2 to the Rescue • p2 in Action • What’s Next?

  3. Overview • Using eclipse since 2004 • 2000+ Developers world wide (US, China, India, Israel, …) • Multiple IDE Solutions • Java, C++, and many more • Frequent Releases • Complicated installations • JVM, Maven, Server • Configuration (eclipse.ini, environment configs, setttings.xml)

  4. Old days

  5. Eclipse installation • Install / Update • Java based installer • Links + Ext (200+ additional plugins) • CLI Installer • Customized Equinox Launcher • Upgrading plugins • Release • Clearcase + PDE/Build + Maven Repo old days

  6. Pain Points • Slow Startup (2+ minutes) • p2 Hostile • Unresolved Plugins (missing dependencies) • Required using “–clean” on upgrades • Un-reusable Installer • Tangled Release Process • Slow Installations in Remote Development Sites old days

  7. p2 TO THE RESCUE!

  8. Overview Developers Download eBay Installer Unzip Install Launch Update eBay p2 Installer New Commit Ourselves Git Tycho Build Publish to QA repo Sync to Release repo eBay p2 Portal eBay p2 Publisher p2 to the rescue

  9. Benefits • Consistent Development Environment • Configurable Through Profiles • Lightening Startup • p2 Friendly.  • Fail Fast • Intuitive Update • Awesome New Installer! • Profile Based • GUI, CLI • Reusable • Lean Release Process p2 to the rescue

  10. p2 IN ACTION

  11. eBay p2 Installer • Fork existing p2 Installer • Profile Based • Support for multiple profiles in UI • Support for local and remote profiles • Define set of repositories • Define installable units • Support for non-eclipse based artifacts • New Touchpoint & Provisioning Actions • Data Driven UI • Enhanced Validation • Tracking Support • Customized UDC with additional information p2 in action

  12. eBay p2 Installer p2 in action

  13. eBay p2 Installer Profile Actions Validation Tracking Adaptive UI Headless InstallAdvisor P2 Installer IInstallOperation InstallAdvisor InstallDialog Repository.xml Profile.xml (Local) Profile.xml (Remote) p2 in action

  14. Demo p2 in action

  15. eBay p2 Publisher • Publish Anything as IU • New Publish Actions • Scanning Publisher p2 in action

  16. eBay p2 Publisher p2 Repo Geronimo Blobs … … p2.inf p2.inf p2.inf IU IU IU JDK Maven eBay p2 Publisher p2 in action

  17. Demo p2 in action

  18. eBay p2 Portal • High-level Site Operations • Uses provided p2 applications • 3 Actions: Publish, Mirror, Composite • Authentication & Authorization • Roll-back Capability • Extended Repository Operations p2 in action

  19. Repository Operations Site Operations eBay p2 Portal Create Delete Create Synchronize Mirror Publish Composite Recover Roll-back Authentication Authorization History REST API p2 in action

  20. Demo p2 in action

  21. future

  22. Lessons Learned • p2 API and documentation needs work • Great docs for high level, concepts are clear • Low level is difficult to understand relationships of objects • Automate everything from checkin to publish! • Use Tycho to Build • Use Replication for your p2 Repositories • Mirror external p2 repository internally • Monitor your dependencies • Give friendly error messages when dependencies are not available future

  23. What’s Next? • Open Source • p2 Installer • p2 Portal • Online Profile Management • eBay Marketplace future

  24. Q & A

  25. Give Feedback on the Sessions 1 Sign In: www.eclipsecon.org 2 Select Session Evaluate 3 Vote

More Related