XWT and GUI related classes in a third-party jar [message #561630] |
Sat, 25 July 2009 12:37 |
No real name Messages: 113 Registered: July 2009 |
Senior Member |
|
|
I have a third party OSGi enabled jar. It exports a layout class. Its a
modified MigLayout jar.
I was creating a XWT declarative GUI. After defining the namespace and
adding the layout to my composite, I am unable to get the MigLayout
class to be found by the XWT engine and I keep getting a class not found
error. Most of the demos use classes defined in the same jar as the .xwt
file itself, but MigLayout is another jar altogether, the XWT bundle
cannot find the layout class. Any ideas on resolving this? Or do I have
something else potentially wrong? It looks like a standard class loading
problem but its not clear how to resolve it using the usual tricks (no
eclipse-buddy mechanism can be added to xwt and I cannot declare
everything in an application to be a fragment). Also, the XWT visual
editor does not use the layout dynamically (I have added the mig jar so
it is found by my application plugin of course).
|
|
|
Powered by
FUDForum. Page generated in 0.03114 seconds