I'm involved in transitioning a stand-alone application into the Eclipse E4 RCP framework. The application has a lot of "core" functionality that depends on external libraries which are currently resolved using Maven. There is actively development on this "core" so we'd like to keep it as an active project in the IDE as we proceed.
Ideally, we'd like this core to be available in the target platform so developers can focus on transitioning the UI elements from standalone Swing elements to RCP parts.
The problem I'm facing is regarding dependencies that we used to resolve through Maven in the core of the application. MyApp.Core
has dependencies on external libraries LibraryA, LibraryB, ...
. As a plugin project, I can only export the packages within MyApp.Core
and not any of the packages available in LibraryA, LibraryB, ...
. However, when I try to use functionality in MyApp.Core
that depends on these libraries through the plugins responsible for the various parts of the application, I get, as probably expected, a ClassNotFound
exception because the packages in the dependent libraries aren't exposed anywhere.
Can anyone help me setup the RCP application, the target platform, etc. for this situation?
Thanks!