Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to start RAP from command line ?
How to start RAP from command line ? [message #508514] Tue, 19 January 2010 09:47 Go to next message
Rustam  is currently offline Rustam Friend
Messages: 20
Registered: January 2010
Junior Member
Thanks.
Re: How to start RAP from command line ? [message #508548 is a reply to message #508514] Tue, 19 January 2010 11:58 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi,

I recommend reading the Introduction and Getting started pages on the
RAP homepage (www.eclipse.org/rap). Doing so you'll learn that RAP
applications are typically deployed in a Web container.

If you have more concrete questions feel free to ask :-)

Regards,
Stefan.
Re: How to start RAP from command line ? [message #508560 is a reply to message #508548] Tue, 19 January 2010 12:55 Go to previous messageGo to next message
Rustam  is currently offline Rustam Friend
Messages: 20
Registered: January 2010
Junior Member
Stefan Röck wrote on Tue, 19 January 2010 06:58

If you have more concrete questions feel free to ask Smile
Regards,
Stefan.


Thanks Stefan.
I will try to describe our issue:
We have some console application as Eclipse Equinox application. And we would like to try add some web-face to our console application by RAP and we don't want to use tomcat or other AppServer, Jetty is quite enough. How can we start RAP as eclipse equinox application from command line ? I tried do like that but it is not working:

eclipse.exe -configuration_rap -console -consolelog -noSplash

config.ini
osgi.bundles=reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.commands_3.5.0.I20090525-2000.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.design.example_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.expressions_3.4.100.v20091203.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20091203.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.osgi.services_3.2.0.v20090520-1800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.jdt.junit.runtime_3.4.200.v20091207-1800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20091203.jar@2\:start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.junit_1.3.0.20091214-1156@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.ui.views_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.databinding.beans_1.2.0.I20091117-0800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.ui.forms_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.mortbay.jetty.util_6.1.15.v200905182336.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.help_3.5.0.v20091130.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.junit.runtime_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.rwt_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/javax.servlet_2.5.0.v200910301333.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.contenttype_3.4.100.v20091109.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.equinox.http.jetty_2.0.0.v20090520-1800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.ui.cheatsheets_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.equinox.app_1.2.100.v20091203.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.jobs_3.5.0.v20091125-1620.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.jface.databinding_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.databinding.property_1.2.100.I20090825-0800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/com.ibm.icu.base_4.0.1.v20090822.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.databinding_1.3.0.I20090825-0800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.equinox.preferences_3.3.0.v20091203.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.mortbay.jetty.server_6.1.15.v200905151201.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.databinding.observable_1.3.0.I20090901-0800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.junit_3.8.2.v20090203-1005@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.core.runtime_3.6.0.v20091204.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.rwt.q07_1.3.0.20091214-1156.jar,reference\:file\:C\:/Eclipse/BEST/BestRap@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.jface_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.equinox.http.registry_1.0.200.v20090520-1800.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.ui_1.3.0.20091214-1156.jar@start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.rap.ui.workbench_1.3.0.20091214-1156.jar@start

osgi.bundles.defaultStartLevel=4

osgi.install.area=file\:C\:\\Eclipse\\3.5\\configuration-rap\\eclipse

osgi.framework=file\:C\:/Eclipse/3.5/configuration-rap/eclipse/plugins/org.eclipse.osgi_3.6.0.v20091204.jar

osgi.configuration.cascaded=false

osgi.noShutdown=true

eclipse.ignoreApp=true

org.osgi.service.http.port=10081
Re: How to start RAP from command line ? [message #508565 is a reply to message #508560] Tue, 19 January 2010 12:58 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Rustam,

there is a FAQ entry that describes how to deploy RAP with an embedded
jetty:

http://wiki.eclipse.org/RAP/FAQ#How_do_I_use_a_RAP_standalon e_application_with_an_embedded_server

Hope that helps.
Benny

Rustam wrote:
> Stefan Röck wrote on Tue, 19 January 2010 06:58
>> If you have more concrete questions feel free to ask :)
>> Regards,
>> Stefan.
>
>
> Thanks Stefan. I will try to describe our issue: We have some console
> application as Eclipse Equinox application. And we would like to try add
> some web-face to our console application by RAP and we don't want to use
> tomcat or other AppServer, Jetty is quite enough. How can we start RAP
> as eclipse equinox application from command line ? I tried do like that
> but it is not working:
>
> eclipse.exe -configuration_rap -console -consolelog -noSplash
> config.ini
>
> osgi.bundles=reference\:file\:C\:/Eclipse/3.5/configuration- rap/eclipse/plugins/org.eclipse.core.commands_3.5.0.I20090525-2000.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.design.example_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.core.expressions_3.4.100.v20091203.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.equinox.registry_3.5.0.v20091203.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.osgi.services_3.2.0.v20090520-1800.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.jdt.junit.runtime_3.4.200.v20091207-1800.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.equinox.common_3.6.0.v20091203.jar@2 \:start,reference\:file\:C\:/Eclipse/3.5/configuration-rap/e clipse/plugins/org.eclipse.rap.junit_1.3.0.20091
214-1156@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.ui.views_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.core.databinding.beans_1.2.0.I20091117-0800.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.ui.forms_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.mortbay.jetty.util_6.1.15.v200905182336.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.help_3.5.0.v20091130.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.junit.runtime_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.rwt_1.3.0.20091214-1156.
jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/javax.servlet_2.5.0.v200910301333.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.core.contenttype_3.4.100.v20091109.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.equinox.http.jetty_2.0.0.v20090520-1800.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.ui.cheatsheets_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.equinox.app_1.2.100.v20091203.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.core.jobs_3.5.0.v20091125-1620.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.jface.databinding_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.core.databinding.property_1.2.100.I2009
0825-0800.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/com.ibm.icu.base_4.0.1.v20090822.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.core.databinding_1.3.0.I20090825-0800.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.equinox.preferences_3.3.0.v20091203.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.mortbay.jetty.server_6.1.15.v200905151201.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/ org.eclipse.core.databinding.observable_1.3.0.I20090901-0800 .jar @start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.junit_3.8.2.v20090203-1005@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.core.runtime_3.6.0.v20091204.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.rwt.q07_1.3.0.20091214-1156.jar,refe rence\
:file\:C\:/Eclipse/BEST/BestRap@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.jface_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/ org.eclipse.equinox.http.registry_1.0.200.v20090520-1800.jar @start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.ui_1.3.0.20091214-1156.jar@start ,reference\:file\:C\:/Eclipse/3.5/configuration-rap/eclipse/ plugins/org.eclipse.rap.ui.workbench_1.3.0.20091214-1156.jar@start
>
>
> osgi.bundles.defaultStartLevel=4
>
> osgi.install.area=file\:C\:\\Eclipse\\3.5\\configuration-rap \\eclipse
>
> osgi.framework=file\:C\:/Eclipse/3.5/configuration-rap/eclip se/plugins/org.eclipse.osgi_3.6.0.v20091204.jar
>
>
> osgi.configuration.cascaded=false
>
> osgi.noShutdown=true
>
> eclipse.ignoreApp=true
>
> org.osgi.service.http.port=10081
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:How to use lables from IDialogConstants for use with RCP and RAP (SingleSource)
Next Topic:Key event handling in RAP
Goto Forum:
  


Current Time: Thu Apr 25 07:16:22 GMT 2024

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

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

Back to the top