|
|
|
|
|
|
Re: RCP with ECF on RAP [message #644868 is a reply to message #644783] |
Tue, 14 December 2010 09:37   |
Eclipse User |
|
|
|
Hi Peter,
Peter Boccia wrote on Tue, 14 December 2010 03:50 | Hi all,
I've tried all the bundle (in all the possible combinations) but it still doesn't work!
|
From the stack trace (which shows no sign of ECF code as far as I can tell), the cause seems to be ClassNotFoundException with SWTError. This indicates to me that perhaps you don't have the correct SWT fragment for RAP present in that runtime environment. I don't know exactly how RAP handles the SWT fragment (I'm on the ECF project), so they will have to comment on that. I suppose it's possible that you are calling some server-side UI code via an ECF exposed remote service...and that server-side code doesn't have the right RAP context?
Quote: |
I'm wondering now, if I'm working on a project impossible (in my lab they ask me if it's possible to put a RCP with ECF on RAP), because with all the possible workarounds I have problem when I run the ECF bundles.
|
It should be possible to use at least much of ECF with RAP. ECF can/is used with a number of other server-side technologies...and doesn't have any UI constraints at all. Like I mentioned above, RAP does some things with the SWT fragment resolution that I don't fully understand, and I think it's possible that your classload failure (of SWT code) could be due to calling some UI/RAP code *outside* the normal RAP context (i.e. not via the http server). Of course ECF makes this possible.
Quote: |
When I disable the ECF from the target platform and I remove all the use of ecf in the application the graphics works as a usual good RAP application.
|
Unfortunately, I don't understand this either.
One thing to ask about this though...ECF has a number of example apps and associated user interface...and these bundles may be pulling in unexpected/unwanted user interface code.
What parts of ECF are you including? You should probably only be including the ECF features that you are intending to actually use (ECF is broken into a number of features...and the SDK has everything)...i.e. not all the examples, Eclipse-based UI, etc.
Quote: |
My question now is: it's possible or not to get ECF on RAP?
|
I think it almost certainly is possible...it just may take some further work to a) get the right/desired pieces included; b) get them working together
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.13580 seconds