Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Re: Getting started with RAP
Re: Getting started with RAP [message #530980] Mon, 03 May 2010 09:19 Go to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Saurav,

It's best to ask about RAP on the RAP newsgroup/forum, which I've added
to the "to" list of this reply. Have you created new plugins with
dependencies on the plugin that contains the IEntryPoint interface?


saurav wrote:
> Hi All,
>
> I am trying to start off with RAP.I updated the plug-ins from this
> update site http://www.eclipse.org/rap/downloads/
>
> I updated the tooling.It says it includes the runtime also.
> I even tried Helios release of RCP/RAP IDE.
>
> In both i am getting the same issue.I am not able to resolve
> IEntryPoint.I think it belongs to org.eclipse.rap.ui, which i am not
> able to find in the installed plug-ins.
>
> Please help.
>
> Thanks and Regards,
> Saurav
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Getting started with RAP [message #531015 is a reply to message #530980] Mon, 03 May 2010 11:49 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Saurav,

I wonder if there's a bug in the forum software that your reply removed
the RAP forum? Your reply appears only on the newcomers forum which, as
I suggested, is far less likely to solicit help from the RAP team then
using their specialized newsgroup.

You mentioned "I updated the tooling.It says it includes the runtime
also." I'm not sure what you did or what "It says it includes the
runtime" means, but you need to follow the instructions for installing
the runtime into a PDE target platform and making that target platform
the default/active one so that your workspace ends up resolve plugins
there. It sounds like you've not done that.


saurav wrote:
> Hi Ed,,
>
> Thanks for the reply.
> Yes the I used the template created by Eclipse.It adds the
> org.eclipse.rap.ui in the dependencies page by default, and then its
> unable to resolve it.
>
>
> Thanks and Regards,
> Saurav


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Getting started with RAP [message #531025 is a reply to message #531015] Mon, 03 May 2010 12:25 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Saurav,

it is true that the RAP tooling contains the RAP runtime and a target
installer to ease getting started with RAP development. But if you are
using a mixed target (EMF + RAP + ...), you should rather get your
target components directly from a repository.

Here's a wiki page that explains how to use RAP + EMF:
http://wiki.eclipse.org/RAP/EMF_Integration

Feel free to post to the RAP newsgroup if you still have problems.

Regards, Ralf

Ed Merks wrote:
> Saurav,
>
> I wonder if there's a bug in the forum software that your reply removed
> the RAP forum? Your reply appears only on the newcomers forum which, as
> I suggested, is far less likely to solicit help from the RAP team then
> using their specialized newsgroup.
> You mentioned "I updated the tooling.It says it includes the runtime
> also." I'm not sure what you did or what "It says it includes the
> runtime" means, but you need to follow the instructions for installing
> the runtime into a PDE target platform and making that target platform
> the default/active one so that your workspace ends up resolve plugins
> there. It sounds like you've not done that.
>
>
> saurav wrote:
>> Hi Ed,,
>>
>> Thanks for the reply.
>> Yes the I used the template created by Eclipse.It adds the
>> org.eclipse.rap.ui in the dependencies page by default, and then its
>> unable to resolve it.
>>
>>
>> Thanks and Regards,
>> Saurav
Re: Getting started with RAP [message #531076 is a reply to message #530980] Mon, 03 May 2010 16:12 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi All,

Please find the latest updates of my findings here.

http://www.eclipse.org/forums/index.php?t=msg&th=167435& amp;start=0&

Thanks and Regards,
Saurav


Re: Getting started with RAP [message #531077 is a reply to message #531076] Mon, 03 May 2010 16:13 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Updating here also

ok...What i did was i extracted the downloaded RAP runtime zip.Copied the plug-ins and features into my IDE's plug-ins.

Then put the RAP bundles in the Runtime configuration.This seems to work, though i got the following error

<code>

!ENTRY org.eclipse.rap.ui 4 0 2010-05-03 20:10:33.620
!MESSAGE Source Provider 'org.eclipse.ui.internal.contexts.ActiveContextSourceProvide r' should extend AbstractSourceProvider
java.lang.ClassCastException: org.eclipse.ui.internal.handlers.HandlerServiceFactory cannot be cast to org.eclipse.ui.services.AbstractServiceFactory
at org.eclipse.ui.internal.services.WorkbenchServiceRegistry.lo adFromRegistry(WorkbenchServiceRegistry.java:101)
at org.eclipse.ui.internal.services.WorkbenchServiceRegistry.ge tService(WorkbenchServiceRegistry.java:77)
at org.eclipse.ui.internal.services.ServiceLocator.getService(S erviceLocator.java:163)
at org.eclipse.ui.internal.Workbench$40.runWithException(Workbe nch.java:1642)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
at org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:115)
at org.eclipse.swt.widgets.Display$2.run(Display.java:931)
at org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 460)
at org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:929)
at org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:110)
at org.eclipse.ui.internal.Workbench.initializeDefaultServices( Workbench.java:1638)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1300)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2317)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 06)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:424)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.jface.internal.databinding.realmadapter.RealmAda pter.run(RealmAdapter.java:44)
at org.eclipse.rap.ui.internal.RealmAdapterHook.runWithDefault( RealmAdapterHook.java:48)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:427)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
at rapplugin.Application.createUI(Application.java:18)
at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:253)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:117)
at java.lang.Thread.run(Unknown Source)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)

</code>

But my sample view is working.

cheers,
Saurav


Re: Getting started with RAP [message #531111 is a reply to message #531077] Mon, 03 May 2010 18:19 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Ok...finally i could resolve all the problems.
It was just setting of the bundles.

I realized org.eclipse.rap.ui only in turn exposes the extension points of eclipse UI, but then why the template was adding the org.eclipse.ui to the dependencies page.


Re: Getting started with RAP [message #531121 is a reply to message #531077] Mon, 03 May 2010 19:06 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

saurav wrote:
> ok...What i did was i extracted the downloaded RAP runtime zip.Copied
> the plug-ins and features into my IDE's plug-ins.

I'm not quite sure If I understand what you are doing, but this step is
definitely wrong. You *must not* install RAP runtime bundles into your
IDE. The RAP Tooling is for the IDE, the RAP Runtime SDK is for your target.

Regards, Ralf
Re: Getting started with RAP [message #531169 is a reply to message #530980] Tue, 04 May 2010 02:24 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi Ralf,

Yes i could understand now.I was wrong that time.
Everything seems to work now.
Many thanks for your help.

Cheers,
Saurav


Previous Topic:Gradient for table rows
Next Topic:Vertical label
Goto Forum:
  


Current Time: Thu Mar 28 18:56:15 GMT 2024

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

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

Back to the top