RAP Command Line Launch [message #54367] |
Mon, 22 October 2007 17:23  |
Eclipse User |
|
|
|
Originally posted by: andreasruempel.gmx.net
Hi,
I want to launch my RAP application from command line without using the
Eclipse IDE. Certainly the Equinox launcher has to be used for that. I
have my application plug-in exported as a jar file and the RAP target
platform. Could somebody give me a short step-by-step guide, how to
perform this launch from command line? Can I use my launch configuration
file (the "OSGi Framework" or "RAP Application" launchers) somehow or do
I have to configure independently somewhere?
Thanks.
Andi
|
|
|
|
|
Re: RAP Command Line Launch [message #55300 is a reply to message #54865] |
Wed, 24 October 2007 19:51  |
Eclipse User |
|
|
|
Originally posted by: andreasruempel.gmx.net
Right, the "modern" way is to use org.eclipse.equinox.launcher,
furthermore I used the supplied org.eclipse.equinox.http.jetty instead
of Jochen's suggestion.
It works.
Andi
Frank Appel wrote:
> Hi,
>
> I'm not sure, but I thought startup.jar isn't supported with 3.3.0 anymore -
> at least eclipse doesn't use it anymore.
>
> See : http://wiki.eclipse.org/index.php/Equinox_Launcher#Startup.j ar.
>
>
> Ciao
> Frank
>
> "Jochen Krause" <jkrause@innoopract.com> schrieb im Newsbeitrag
> news:fflor8$hnq$1@build.eclipse.org...
>> Create a folder structure as this:
>>
>> /yourapp
>> /yourapp/startup.jar
>> /yourapp/configuration/config.ini
>> /yourapp/plugins/...
>>
>> config.ini should contain:
>> ### bundles to start
>> osgi.bundles=org.eclipse.equinox.common@2:start,
>> org.eclipse.update.configurator@start,
>> org.eclipse.equinox.http.servletbridge@start,
>> org.eclipse.equinox.http.registry@start
>> # update configurator will load all bundles present in the plugins
>> # folder of your installation
>> ### install area (replace with your install area path)
>> osgi.install.area=file:///yourapp
>> ### path to osgi runtime jar - replace path
>> osgi.framework=file:///yourapp/plugins/org.eclipse.osgi_3.2.1.R32x_..
>> ### no eclipse launch
>> eclipse.ignoreApp=true
>>
>> Start the app with
>> -classpath /<yourapp>/startup.jar -Dorg.osgi.service.http.port=$PORT
>> org.eclipse.core.launcher.Main
>>
>> See also: http://www.eclipse.org/equinox/server/http_in_equinox.php
>>
>> Cheers,
>>
>> Jochen
>>
>>
>> Andreas Rümpel wrote:
>>> Hi,
>>>
>>> I want to launch my RAP application from command line without using the
>>> Eclipse IDE. Certainly the Equinox launcher has to be used for that. I
>>> have my application plug-in exported as a jar file and the RAP target
>>> platform. Could somebody give me a short step-by-step guide, how to
>>> perform this launch from command line? Can I use my launch configuration
>>> file (the "OSGi Framework" or "RAP Application" launchers) somehow or do
>>> I have to configure independently somewhere?
>>>
>>> Thanks.
>>>
>>> Andi
|
|
|
Powered by
FUDForum. Page generated in 0.02345 seconds