Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » using servletbridge with RCP application and PDE
using servletbridge with RCP application and PDE [message #81799] Wed, 24 January 2007 17:43
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I am using the servlet bridge with an RCP application and have put my
target servlet in my RCP application.

I have two issues:

1) The servlet bridge calls EclipseStarter.start() which starts up
Eclipse, but does not seem to start an application, even though I
specify eclipse.application in the launch.ini file (and see that it gets
set correctly in the EclipseStarter.setInitialPropertiesCall()). I
think it is correct that the application is not started, because if you
want the application started, you should call EclipseStarter.run().

When I run the servlet bridge, Eclipse starts correctly when the 'cat
starts.

How do I start an application using the servlet bridge? My plan is to
have a special application which does the registration of my servlet
with the servlet bridge. Is this workable?

2) Running in the PDE - I have packaged the servlet bridge as a plugin
and a web application so that I can test it using the (wonderful) web
tools. In order to have the servlet bridge stuff correctly find
everything maintained by the PDE, I put this code in my launch.ini.
This works just fine (except for the problem #1), but I wonder if there
is a better way?

#osgi.*=@null
#org.osgi.*=@null
#eclipse.*=@null

osgi.install.area=file:/usr/local/eclipse_deploy/eclipse
osgi.configuration.area=file:/home/francis/d/.metadata/.plug ins/org.eclipse.pde.core/transform.product
(0, 1devel repos)/
osgi.dev=file:/home/francis/d/.metadata/.plugins/org.eclipse .pde.core/transform.product
(0, 1devel repos)/dev.properties
osgi.framework=file:/usr/local/eclipse_deploy/eclipse/plugin s/org.eclipse.osgi_3.2.1.R32x_v20060919.jar

# note that this line has no effect
eclipse.application=com.oaklandsw.transform.runtime.servleta pplication

osgi.parentClassloader=ext
osgi.contextClassLoaderParent=ext


Previous Topic:Running Equinox with Java 1.3
Next Topic:Cannot open a Swing JFrame when using OSGi
Goto Forum:
  


Current Time: Fri Apr 19 04:01:41 GMT 2024

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

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

Back to the top