Skip to main content



      Home
Home » Eclipse Projects » Equinox » Running OSGi
Running OSGi [message #32148] Fri, 09 January 2004 12:10 Go to next message
Eclipse UserFriend
Could someone point me to the document on running the OSGi container and
installing Bundles and Plugins?

Thanks,
Stephen
Re: Running OSGi [message #32435 is a reply to message #32148] Sat, 10 January 2004 21:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeff_mcaffer.ca.ibm.com

Stephen,

We are working on the doc now. Can you be more specific as to what
information you need or what you are trying to do?

We don't draw any real distinction between plugins and bundles. There are
two ways of specifying the runtime dependencies, plugin.xml and manifest.mf.
Currently not all parts of Eclipse support plugins/bundles which only have a
manifest.mf so you will see plugin.xmls hanging around in places whree there
is a manifest.mf. I fyou give just a plugin.xml, we generate a manifest.mf
for you.

If you are happy with that, then you can use the regular Eclipse install
story (see the doc for more info). In either case, you cna use the OSGi
console (run eclipse -console) and use the "install" command.

Jeff

"Stephen" <stephen.goldbaum@lehman.com> wrote in message
news:btmnab$2hg$1@eclipse.org...
> Could someone point me to the document on running the OSGi container and
> installing Bundles and Plugins?
>
> Thanks,
> Stephen
>
Re: Running OSGi [message #32780 is a reply to message #32435] Tue, 13 January 2004 10:49 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the reply. That's what I was looking for.

I have an application that is a combination of some general purpose
bundles and a large client bundle (written in SWT and JFace). The package
dependencies for the client bundle are pretty unwieldy. Up to now I've
used Oscar embedded in an application with the classpath already setup to
avoid them (with obvious drawbacks concerning dynamic bundles). I've also
spent some time to get it deployed into SMF, but that was too painful for
general development purposes. I was hoping to convert the client bundle
into a set of smaller bundle fragments and use equinox instead. However,
I couldn't figure out how to install my general purpose bundles into the
OSGi container. This did the trick.

While we're at it, since the client is limited to JFace and SWT, what's
the minimum set of plugins I can use to run a standalone OSGi container.

Stephen


Jeff McAffer wrote:

> Stephen,

> We are working on the doc now. Can you be more specific as to what
> information you need or what you are trying to do?

> We don't draw any real distinction between plugins and bundles. There are
> two ways of specifying the runtime dependencies, plugin.xml and manifest.mf.
> Currently not all parts of Eclipse support plugins/bundles which only have a
> manifest.mf so you will see plugin.xmls hanging around in places whree there
> is a manifest.mf. I fyou give just a plugin.xml, we generate a manifest.mf
> for you.

> If you are happy with that, then you can use the regular Eclipse install
> story (see the doc for more info). In either case, you cna use the OSGi
> console (run eclipse -console) and use the "install" command.

> Jeff

> "Stephen" <stephen.goldbaum@lehman.com> wrote in message
> news:btmnab$2hg$1@eclipse.org...
> > Could someone point me to the document on running the OSGi container and
> > installing Bundles and Plugins?
> >
> > Thanks,
> > Stephen
> >
Re: Running OSGi [message #32885 is a reply to message #32780] Tue, 13 January 2004 14:48 Go to previous messageGo to next message
Eclipse UserFriend
To be even more specific: The application has a single main window that
launches various other windows via a toolbar and popup menus. So I'd like
to run the container with only a single perspective and a toolbar.
Besides the update manager, every other feature of a standard PDE
workspace should be removed. I was also looking for documentation on how
I might manage this since it seems that I can't start the workspace when I
remove much of the unnecessary functionality. At the very least, I'd like
to be able to run a standalone OSGi container with a minimal set of the
OSGi services (that would be helpful regardless of the application).

-Stephen


Stephen wrote:

> Thanks for the reply. That's what I was looking for.

> I have an application that is a combination of some general purpose
> bundles and a large client bundle (written in SWT and JFace). The package
> dependencies for the client bundle are pretty unwieldy. Up to now I've
> used Oscar embedded in an application with the classpath already setup to
> avoid them (with obvious drawbacks concerning dynamic bundles). I've also
> spent some time to get it deployed into SMF, but that was too painful for
> general development purposes. I was hoping to convert the client bundle
> into a set of smaller bundle fragments and use equinox instead. However,
> I couldn't figure out how to install my general purpose bundles into the
> OSGi container. This did the trick.

> While we're at it, since the client is limited to JFace and SWT, what's
> the minimum set of plugins I can use to run a standalone OSGi container.

> Stephen


> Jeff McAffer wrote:

> > Stephen,

> > We are working on the doc now. Can you be more specific as to what
> > information you need or what you are trying to do?

> > We don't draw any real distinction between plugins and bundles. There are
> > two ways of specifying the runtime dependencies, plugin.xml and
manifest.mf.
> > Currently not all parts of Eclipse support plugins/bundles which only have
a
> > manifest.mf so you will see plugin.xmls hanging around in places whree
there
> > is a manifest.mf. I fyou give just a plugin.xml, we generate a manifest.mf
> > for you.

> > If you are happy with that, then you can use the regular Eclipse install
> > story (see the doc for more info). In either case, you cna use the OSGi
> > console (run eclipse -console) and use the "install" command.

> > Jeff

> > "Stephen" <stephen.goldbaum@lehman.com> wrote in message
> > news:btmnab$2hg$1@eclipse.org...
> > > Could someone point me to the document on running the OSGi container and
> > > installing Bundles and Plugins?
> > >
> > > Thanks,
> > > Stephen
> > >
Re: Running OSGi [message #32920 is a reply to message #32885] Tue, 13 January 2004 15:00 Go to previous messageGo to next message
Eclipse UserFriend
I think you can strip most things out.

I have played around with RPC and running a stripped version of the
workbench.

Some code will still be there but you choose wich actions you want to put in
there.

Cheers
Sten

"Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
news:bu1i2v$7ea$1@eclipse.org...
> To be even more specific: The application has a single main window that
> launches various other windows via a toolbar and popup menus. So I'd like
> to run the container with only a single perspective and a toolbar.
> Besides the update manager, every other feature of a standard PDE
> workspace should be removed. I was also looking for documentation on how
> I might manage this since it seems that I can't start the workspace when I
> remove much of the unnecessary functionality. At the very least, I'd like
> to be able to run a standalone OSGi container with a minimal set of the
> OSGi services (that would be helpful regardless of the application).
>
> -Stephen
>
>
> Stephen wrote:
>
> > Thanks for the reply. That's what I was looking for.
>
> > I have an application that is a combination of some general purpose
> > bundles and a large client bundle (written in SWT and JFace). The
package
> > dependencies for the client bundle are pretty unwieldy. Up to now I've
> > used Oscar embedded in an application with the classpath already setup
to
> > avoid them (with obvious drawbacks concerning dynamic bundles). I've
also
> > spent some time to get it deployed into SMF, but that was too painful
for
> > general development purposes. I was hoping to convert the client bundle
> > into a set of smaller bundle fragments and use equinox instead.
However,
> > I couldn't figure out how to install my general purpose bundles into the
> > OSGi container. This did the trick.
>
> > While we're at it, since the client is limited to JFace and SWT, what's
> > the minimum set of plugins I can use to run a standalone OSGi container.
>
> > Stephen
>
>
> > Jeff McAffer wrote:
>
> > > Stephen,
>
> > > We are working on the doc now. Can you be more specific as to what
> > > information you need or what you are trying to do?
>
> > > We don't draw any real distinction between plugins and bundles. There
are
> > > two ways of specifying the runtime dependencies, plugin.xml and
> manifest.mf.
> > > Currently not all parts of Eclipse support plugins/bundles which only
have
> a
> > > manifest.mf so you will see plugin.xmls hanging around in places whree
> there
> > > is a manifest.mf. I fyou give just a plugin.xml, we generate a
manifest.mf
> > > for you.
>
> > > If you are happy with that, then you can use the regular Eclipse
install
> > > story (see the doc for more info). In either case, you cna use the
OSGi
> > > console (run eclipse -console) and use the "install" command.
>
> > > Jeff
>
> > > "Stephen" <stephen.goldbaum@lehman.com> wrote in message
> > > news:btmnab$2hg$1@eclipse.org...
> > > > Could someone point me to the document on running the OSGi container
and
> > > > installing Bundles and Plugins?
> > > >
> > > > Thanks,
> > > > Stephen
> > > >
>
>
Re: Running OSGi [message #32991 is a reply to message #32920] Tue, 13 January 2004 15:03 Go to previous messageGo to next message
Eclipse UserFriend
Should be RCP (Rich Client Platform):-)

-Sten


"Sten Ernerot" <ernerot@attglobal.net> wrote in message
news:bu1ik8$81m$1@eclipse.org...
> I think you can strip most things out.
>
> I have played around with RPC and running a stripped version of the
> workbench.
>
> Some code will still be there but you choose wich actions you want to put
in
> there.
>
> Cheers
> Sten
>
> "Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
> news:bu1i2v$7ea$1@eclipse.org...
> > To be even more specific: The application has a single main window that
> > launches various other windows via a toolbar and popup menus. So I'd
like
> > to run the container with only a single perspective and a toolbar.
> > Besides the update manager, every other feature of a standard PDE
> > workspace should be removed. I was also looking for documentation on
how
> > I might manage this since it seems that I can't start the workspace when
I
> > remove much of the unnecessary functionality. At the very least, I'd
like
> > to be able to run a standalone OSGi container with a minimal set of the
> > OSGi services (that would be helpful regardless of the application).
> >
> > -Stephen
> >
> >
> > Stephen wrote:
> >
> > > Thanks for the reply. That's what I was looking for.
> >
> > > I have an application that is a combination of some general purpose
> > > bundles and a large client bundle (written in SWT and JFace). The
> package
> > > dependencies for the client bundle are pretty unwieldy. Up to now
I've
> > > used Oscar embedded in an application with the classpath already setup
> to
> > > avoid them (with obvious drawbacks concerning dynamic bundles). I've
> also
> > > spent some time to get it deployed into SMF, but that was too painful
> for
> > > general development purposes. I was hoping to convert the client
bundle
> > > into a set of smaller bundle fragments and use equinox instead.
> However,
> > > I couldn't figure out how to install my general purpose bundles into
the
> > > OSGi container. This did the trick.
> >
> > > While we're at it, since the client is limited to JFace and SWT,
what's
> > > the minimum set of plugins I can use to run a standalone OSGi
container.
> >
> > > Stephen
> >
> >
> > > Jeff McAffer wrote:
> >
> > > > Stephen,
> >
> > > > We are working on the doc now. Can you be more specific as to what
> > > > information you need or what you are trying to do?
> >
> > > > We don't draw any real distinction between plugins and bundles.
There
> are
> > > > two ways of specifying the runtime dependencies, plugin.xml and
> > manifest.mf.
> > > > Currently not all parts of Eclipse support plugins/bundles which
only
> have
> > a
> > > > manifest.mf so you will see plugin.xmls hanging around in places
whree
> > there
> > > > is a manifest.mf. I fyou give just a plugin.xml, we generate a
> manifest.mf
> > > > for you.
> >
> > > > If you are happy with that, then you can use the regular Eclipse
> install
> > > > story (see the doc for more info). In either case, you cna use the
> OSGi
> > > > console (run eclipse -console) and use the "install" command.
> >
> > > > Jeff
> >
> > > > "Stephen" <stephen.goldbaum@lehman.com> wrote in message
> > > > news:btmnab$2hg$1@eclipse.org...
> > > > > Could someone point me to the document on running the OSGi
container
> and
> > > > > installing Bundles and Plugins?
> > > > >
> > > > > Thanks,
> > > > > Stephen
> > > > >
> >
> >
>
>
Re: Running OSGi [message #33025 is a reply to message #32991] Tue, 13 January 2004 15:18 Go to previous messageGo to next message
Eclipse UserFriend
Thanks. That sounds good. Could you point me to some RCP documentation?

-Stephen


Sten Ernerot wrote:

> Should be RCP (Rich Client Platform):-)

> -Sten


> "Sten Ernerot" <ernerot@attglobal.net> wrote in message
> news:bu1ik8$81m$1@eclipse.org...
> > I think you can strip most things out.
> >
> > I have played around with RPC and running a stripped version of the
> > workbench.
> >
> > Some code will still be there but you choose wich actions you want to put
> in
> > there.
> >
> > Cheers
> > Sten
Re: Running OSGi [message #33062 is a reply to message #33025] Tue, 13 January 2004 15:50 Go to previous messageGo to next message
Eclipse UserFriend
Found it. That's what I was looking for. Thanks Sten.

-Stephen


Stephen Goldbaum wrote:

> Thanks. That sounds good. Could you point me to some RCP documentation?

> -Stephen


> Sten Ernerot wrote:

> > Should be RCP (Rich Client Platform):-)

> > -Sten


> > "Sten Ernerot" <ernerot@attglobal.net> wrote in message
> > news:bu1ik8$81m$1@eclipse.org...
> > > I think you can strip most things out.
> > >
> > > I have played around with RPC and running a stripped version of the
> > > workbench.
> > >
> > > Some code will still be there but you choose wich actions you want to put
> > in
> > > there.
> > >
> > > Cheers
> > > Sten
Re: Running OSGi [message #33177 is a reply to message #33025] Wed, 14 January 2004 11:26 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_mcaffer_REMOVE.ca.ibm.com

You might look at Ed Burnette's stuff on eclipsepowered.org.

As for the minimal set, really all you need is
org.eclipse.osgi.*
org.eclipse.core.runtime
That gets you a headless eclipse that should be launchable from the PDE
runtime workbench launch config. There may be some complaint about
update.configurator being missing but that is only an issue running outside
of PDE and if you don't want to setup the configuration ahead of time.

Keep asking these questions. We are doing doc and it helps.

Jeff
"Stephen Goldbaum" <stephen.goldbaum@lehman.com> wrote in message
news:bu1jq0$9j4$1@eclipse.org...
> Thanks. That sounds good. Could you point me to some RCP documentation?
>
> -Stephen
>
>
> Sten Ernerot wrote:
>
> > Should be RCP (Rich Client Platform):-)
>
> > -Sten
>
>
> > "Sten Ernerot" <ernerot@attglobal.net> wrote in message
> > news:bu1ik8$81m$1@eclipse.org...
> > > I think you can strip most things out.
> > >
> > > I have played around with RPC and running a stripped version of the
> > > workbench.
> > >
> > > Some code will still be there but you choose wich actions you want to
put
> > in
> > > there.
> > >
> > > Cheers
> > > Sten
>
>
>
Previous Topic:EclipseCon -Tutorials
Next Topic:OSGi Bundle Fragments and Services
Goto Forum:
  


Current Time: Wed Aug 13 13:25:57 EDT 2025

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

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

Back to the top