velocity, bundle, resource loading [message #277942] |
Sun, 19 December 2004 15:41  |
Eclipse User |
|
|
|
Hi!
For a RCP app I'd like to use Velocity to create
dynamic content. The idea is to create a dedicated
Velocity Service plug-in with a simple template
factory which loads resources (Velocity templates)
from the classpath of any plug-in using this service.
If this seems odd in the first place, please let me know!
I could use Bundle.getResource() to look for the
resource in all plug-ins.
Now my question: Is there a way to get a list of all
plug-ins/bundles in a RCP app?
For Platform.getBundles(symcolicName, version) the param
symbolicName is mandatory.
As a work-around I could setup an extension point where
each client plug-in may register with the Velocity
Service plug-in. This works but is not my favourite
solution.
Many thanks,
Horst
PS: I'm using 3.1M4, many thank-yous to the seemless
SDK 5.0 support!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02969 seconds