Summer Open Source Project - Eclipse PDE
About the project
Eclipse PDE is a development environment for creating Eclipse plug-ins and stand-alone RCP applications, enabling both contributors and enterprise developers to build custom tools. It has powered well-known applications like Xmind and KNIME, showing its versatility beyond just Eclipse IDE extensions. With a committed global user base in the tens of thousands, Eclipse PDE remains a key tool for modular, enterprise-grade application development.
The Issue
Eclipse PDE’s Manifest editor lacks proper UI support for the
jars.extra.classpath
attribute, causing many developers to mistakenly use additional.bundles
, which incorrectly adds compile-only dependencies as runtime dependencies. To address this, I explored the Eclipse PDE codebase and identified key files such as BuildClasspathSection.java
, DependencyManagementSection.java
, pderesources.properties
, and PDEUIMessages.java
. The solution involves adding a new button in the Build tab (inspired by the Add Bundles button in the Dependencies tab) that allows users to directly reference bundles from the workspace or target platform as compile-only dependencies. This enhancement will align PDE with real-world workflows, reduce confusion, and improve documentation and developer experience.Codebase Overview
The Eclipse PDE codebase is primarily built with Java, leveraging OSGi as the modular runtime for plug-in architecture and bundle management. It uses Maven with Tycho for building, packaging, and dependency management across multiple modules. For the UI, it relies on SWT (widgets like buttons and layouts) and JFace (viewers, dialogs, and higher-level abstractions). Finally, JUnit is integrated for automated testing, particularly for plug-in testing scenarios .
Pull request link: https://github.com/eclipse-pde/eclipse.pde/pull/1916
Comments
Post a Comment