Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Get something similar to bundleClasspathResolvers for development/compilation-time
Get something similar to bundleClasspathResolvers for development/compilation-time [message #740306] Tue, 18 October 2011 11:15
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6644
Registered: July 2009
Senior Member

In 3.8 M2 bundleClasspathResolvers was added to allow dynamic
contribution of classpath information when launching.

My problem is not the runtime look up of bundles because I use
Equinox-Adaptor-Hooks. My current problem is the compile time because
PDE naturally has no idea what's going on at runtime.

The work-around I used until now was to point jars.extra.classpath to
the library but this has 2 problems:
* No JavaDoc is displayed and hence e.g. argument names are arg0, ...
* The location is hard coded

I think in fact i have 2 problems (which jars.extra.classpath address both):
a) Development-Time: I need to make RequiredPluginsClasspathContainer
cleverer so that it can dynamically locate the
extra jar

b) Export-Time: I need to make the export system add the external jar
when compiling (the same problem I'm going to face with
tycho too)

To solve a) I hacked the RequiredPluginsClasspathContainer so that it
adds the extra jar if it encounters counters my special bundle and so
package imports, ... are working.

On b) I have no clue yet how this could be addressed I tried to navigate
through the PluginExportOperation but don't get how the compile path is
created there.

I think if I can address b) I could come up with an extension point to
PDE which allows one to make PDE aware of things one can do with

Any one any pointers ideas?

Previous Topic:Supporting multiple versions of Eclipse
Next Topic:headless build fails - launcher fragment not found
Goto Forum:

Current Time: Sun Aug 07 16:40:34 GMT 2022

Powered by FUDForum. Page generated in 0.01653 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top