Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Luanching server OSGI during development
Luanching server OSGI during development [message #67883] Tue, 23 May 2006 23:06 Go to next message
Eclipse UserFriend
Originally posted by: duncan.krebsnet.com

Hi,
I'm still trying to figure this stuff out, sorry for the newbie questions.
I'm working on setting up a development environment and the current
approach I am using to add plugins to the server-side OSGI framework is by
manually adding the filepath/plugin-ID to the config.ini file inside
WEB-INF/platform/configuration. I'm also using the sysdeo tomcat plugin to
start/stop the bridge webapp.

I'm not sure I totally understand the eclipse launch framework but I'm
thinking there has to be a way to set up my IDE so I can select which
plugins will be loaded in the server-side OSGI runtime using a
configuration as that way I would not have to manually check/fix my
config.ini file.

I've googled all around but can only find the link below that is a
discussion of development for such a component. Can anyone point me in any
directions? Thanks - Duncan

http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg00895.ht ml
Re: Luanching server OSGI during development [message #67922 is a reply to message #67883] Wed, 24 May 2006 02:19 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi Duncan,

For development, where you want the checkboxes to add and remove bundles and
the convenience of an in-process debugger, I'd recommend you use an embedded
Http Service like "org.eclipse.equinox.http" (or if you're willing to try
beta code https://bugs.eclipse.org/bugs/show_bug.cgi?id=132555). Any work
you do here is going to be 100% portable when you need to deploy to an App
Server because the HttpService is the common interface also exposed by the
Servlet Bridge.

When you do deploy into a webapp I'd suggest you try to keep your config.ini
generic.
In the simplest configuration, "org.eclipse.update.configurator" will find
and install all bundles that are in WEB-INF/platform/plug-ins and
"org.eclipse.equinox.http.registry" will lazily activate your servlet
extensions on demand. If you have other non-servlet bundles that need to be
started that's when you'll have to modify your config.ini.

Hope this helps.
-Simon

p.s. For the link you gave, I think the approach Jochen describes for a
server-side launcher will work, it's just a matter of finding the time to
add tooling support.

"Duncan Krebs" <duncan@krebsnet.com> wrote in message
news:8fc741b4fd59bd4807bbf0017dfcf729$1@www.eclipse.org...
> Hi,
> I'm still trying to figure this stuff out, sorry for the newbie questions.
> I'm working on setting up a development environment and the current
> approach I am using to add plugins to the server-side OSGI framework is by
> manually adding the filepath/plugin-ID to the config.ini file inside
> WEB-INF/platform/configuration. I'm also using the sysdeo tomcat plugin to
> start/stop the bridge webapp.
>
> I'm not sure I totally understand the eclipse launch framework but I'm
> thinking there has to be a way to set up my IDE so I can select which
> plugins will be loaded in the server-side OSGI runtime using a
> configuration as that way I would not have to manually check/fix my
> config.ini file.
>
> I've googled all around but can only find the link below that is a
> discussion of development for such a component. Can anyone point me in any
> directions? Thanks - Duncan
>
> http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg00895.ht ml
>
Previous Topic:Equinox Planning - Provisioning - obr ?
Next Topic:EventAdmin ServiceReference is always null?
Goto Forum:
  


Current Time: Thu Sep 19 13:28:51 GMT 2024

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

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

Back to the top