|
|
|
|
|
|
Re: Urgent: How to use IApplication support??? [message #516021 is a reply to message #516020] |
Mon, 22 February 2010 09:14 |
Benjamin Muskalla Messages: 338 Registered: July 2009 |
Senior Member |
|
|
Please be sure to have the RAP tooling installed. Which version of
Eclipse are you running? Do the RAP plugins show up in the About dialog?
Regards,
Ben
Markus Krüger wrote:
> Well, I would like to do this, but the RAP launcher does not appear in my
> eclipse anymore, only OSGI. That's why my launch configrations won't work
> anymore!
>
> "Benjamin Muskalla" <bmuskalla@eclipsesource.com> schrieb im Newsbeitrag
> news:hlu161$d0b$1@build.eclipse.org...
>> Hi Markus,
>>
>> the IApplication support was never supposed to replace the way we launch
>> RAP applications. It only wraps your existing IApplication in an
>> entrypoint so you don't need to provide your own entrypoint.
>> Just launch your RAP app as always (Equinox or RAP launcher) and use the
>> id of your application extension as entrypoint name.
>>
>> eg. localhost:8080/rap?startup=<app-extension-id>
>>
>> Regards,
>> Ben
>>
>> Markus Krüger wrote:
>>> Using osgi launch works...
>>>
>>>
>>> "Markus Krüger" <krueger@ion.ag> schrieb im Newsbeitrag
>>> news:hltmn8$957$1@build.eclipse.org...
>>>> The problem seems to be that PlatformUI.createDisplay() within the
>>>> IApplication.start() method runs into an IllegalStateException("No
>>>> context available outside of the request service lifecycle.") when doing
>>>> new Display()!
>>>>
>>>> "Markus Krüger" <krueger@ion.ag> schrieb im Newsbeitrag
>>>> news:hltldm$ro7$1@build.eclipse.org...
>>>>> Hi,
>>>>> I posted this as being urgent as I can not start my application
>>>>> anymore.
>>>>> I updated to 1.3 M5 runtime today and now all my launch configurations
>>>>> do not appear anymore so I can not launch my apps!
>>>>> I think this is because now IApplication is supported and no special
>>>>> launch needs to be done.
>>>>>
>>>>> So I tried using an IApplication as test to see how to use it.
>>>>> I created a new Plugin-Project and checked the option "Yes" for "Would
>>>>> you like to create a rich client application?".
>>>>> This created an example project with an IApplication implemention known
>>>>> from RCP.
>>>>> Now I wanted to start this app (after changing org.eclipse.ui to
>>>>> org.eclipse.rap.ui) using a new "Eclipse Application" configuration. I
>>>>> choose the application to start an validated the plugins. When I run
>>>>> this example, then the console show a running app for some seconds, and
>>>>> then it shuts down. Now log or error.
>>>>>
>>>>> So how do I need to use the IApplication? Could you provide a simple
>>>>> guide with/without branding?
>>>>> The thread
>>>>> http://www.eclipse.org/forums/index.php?t=msg&th=161218& amp;start=0& did
>>>>> not help me.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Markus Krüger
>>>>>
>>>
>>
>> --
>> Benjamin Muskalla | EclipseSource Karlsruhe
>> http://www.eclipsesource.com | http://twitter.com/eclipsesource
>
>
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
|
Powered by
FUDForum. Page generated in 0.04736 seconds