Leverage the evolution of Eclipse PDE - OCX 2024

Subscribers:
24,000
Published on ● Video Link: https://www.youtube.com/watch?v=w-Qj1sVsILI



Duration: 0:00
38 views
1


The Eclipse Plug-in development environment (PDE) is a mature and stable project existing for decades, and yet new features are constantly being developed and existing features are enhanced. In this talk new features and enhancements of the recent past years are presented and it is demonstrated how they can boost developer productivity while developing Eclipse or OSGi applications. Furthermore general tips, tricks and recommendations regarding efficient development with PDE are showcased. The following topics are covered: - Product definition and application launching PDE now supports mixed products including both Plug-ins and Features directly, which allows to extend products (primarily) based on Features to include specific Plug-ins too. Furthermore all required dependencies of the Features and Plug-ins included in a product or a launch can now be added automatically when launching a product from the IDE. This can drastically simplify the definition of new products or the update of existing ones since products don't have to be self-contained anymore. Build-tools like Tycho don't require that as well. It will be showcased how an entire IDE product with selected features can now be set up and launched from the IDE in a minute, instead of hours. - OSGi Declarative Services Support for OSGi Declarative Services (DS) version 1.4 and 1.5(partially) is now built-in. One new feature of these new specification versions are 'ComponentPropertyType' annotations that allow simpler and saver definitions of service properties. For example an E4-lifecycle EventHandler service component benefits from this and is now an even more convenient replacement for implementing the Eclipse-UI specific 'IStartup' interface and extension-point. - Target definitions New features that are currently under development, but are expected to be completed in time, are support for version ranges and no versions of units and wild-cards in unit names. A strategy how target definitions can be fully specified and stay manageable with minimal effort at the same time is presented as well. - Integration of M2E with PDE Many open-source projects are pure Maven projects and use the 'bnd-maven-plugin' or Felix 'maven-bundle-plugin' to generate their OSGi MANIFEST.MF only at build time. Therefore they are often not set up as PDE plug-in projects. Maven2Eclipse's (M2E) integration with PDE can now configure such pure Maven projects to behave seamlessly like PDE Plug-in projects in an Eclipse workspace out of the box. This can for example be convenient when developing such Maven project along with Plug-ins referencing them or when running them in Eclipse applications launched from the IDE, as it will be shown. Besides the mentioned highlights smaller enhancements are illustrated during the tour. The revolutionary new feature of PDE, the automatic generation of MANIFEST.MF files has already been presented at last year's EclipseCon and will therefore not be covered again. Attendees should be familiar with the basic of developing Eclipse Plug-ins with PDE.