Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Running an infocenter as a pure OSGi bundle
Running an infocenter as a pure OSGi bundle [message #473902] Mon, 09 June 2008 10:57 Go to next message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
I need to provide some online help for a Web application that is running in
the Equinox OSGi container. I'd really like to use the Eclipse help format,
as from a doc writer's point of view, it's easy to use and I can use Eclipse
as an authoring and testing tool.

Since Eclipse plugins are really just OSGi bundles and since Eclipse is
based on Equinox, it seems that it wouldn't be too big a jump to be able to
deploy the infocenter as a bundle or series of bundles into the OSGi
container.

Just wondering whether anyone has tried or even thought about this.

Thanks
Re: Running an infocenter as a pure OSGi bundle [message #473904 is a reply to message #473902] Mon, 09 June 2008 22:31 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Are you using the Jetty based Equinox web server? We already have well
documented instructions on how to add help to an RCP application or to
build a .war file which contains the help system but it seems that your
use case is a little different to either of those. I'm trying to figure
out if what the best starting point would be. Are you looking to have
the help system and your web application run on the same server port?

David Porter wrote:
> I need to provide some online help for a Web application that is running in
> the Equinox OSGi container. I'd really like to use the Eclipse help format,
> as from a doc writer's point of view, it's easy to use and I can use Eclipse
> as an authoring and testing tool.
>
> Since Eclipse plugins are really just OSGi bundles and since Eclipse is
> based on Equinox, it seems that it wouldn't be too big a jump to be able to
> deploy the infocenter as a bundle or series of bundles into the OSGi
> container.
>
> Just wondering whether anyone has tried or even thought about this.
>
> Thanks
>
>
Re: Running an infocenter as a pure OSGi bundle [message #473905 is a reply to message #473904] Tue, 10 June 2008 10:18 Go to previous messageGo to next message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
Chris Goldthorpe wrote:

> Are you using the Jetty based Equinox web server?

We are using Pax Web
(http://wiki.ops4j.org/confluence/display/ops4j/Pax+Web) and Pax Web
Extender ( http://wiki.ops4j.org/confluence/display/ops4j/Pax+Web+Exten der).

> Are you looking to have the help system and your web application
> run on the same server port?

Yes, preferably.

We loved the web app infocenter that you came up with in Eclipse 3.4.
We're using it on our web site. However, the infocenter contains a lot of
libraries that are duplicated in our web app. Things like Lucene and
Jetty, for example. These would make our application, which is to be
installed locally, rather bloated. We'd like to strip these out and just
run Eclipse help as an OSGi bundle.
Re: Running an infocenter as a pure OSGi bundle [message #473908 is a reply to message #473905] Wed, 11 June 2008 17:39 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
What you are looking to do sounds like something that would be feasible
but I don't know of anyone who has done it yet. I can't immediately
think of any reason why if it would not work if you had all of the right
plugins installed and the servlets registered, but then again I have not
tried this so I can't really predict what issues you might run into.
Re: Running an infocenter as a pure OSGi bundle [message #614420 is a reply to message #473902] Mon, 09 June 2008 22:31 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Are you using the Jetty based Equinox web server? We already have well
documented instructions on how to add help to an RCP application or to
build a .war file which contains the help system but it seems that your
use case is a little different to either of those. I'm trying to figure
out if what the best starting point would be. Are you looking to have
the help system and your web application run on the same server port?

David Porter wrote:
> I need to provide some online help for a Web application that is running in
> the Equinox OSGi container. I'd really like to use the Eclipse help format,
> as from a doc writer's point of view, it's easy to use and I can use Eclipse
> as an authoring and testing tool.
>
> Since Eclipse plugins are really just OSGi bundles and since Eclipse is
> based on Equinox, it seems that it wouldn't be too big a jump to be able to
> deploy the infocenter as a bundle or series of bundles into the OSGi
> container.
>
> Just wondering whether anyone has tried or even thought about this.
>
> Thanks
>
>
Re: Running an infocenter as a pure OSGi bundle [message #614423 is a reply to message #473904] Tue, 10 June 2008 10:18 Go to previous message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
Chris Goldthorpe wrote:

> Are you using the Jetty based Equinox web server?

We are using Pax Web
(http://wiki.ops4j.org/confluence/display/ops4j/Pax+Web) and Pax Web
Extender ( http://wiki.ops4j.org/confluence/display/ops4j/Pax+Web+Exten der).

> Are you looking to have the help system and your web application
> run on the same server port?

Yes, preferably.

We loved the web app infocenter that you came up with in Eclipse 3.4.
We're using it on our web site. However, the infocenter contains a lot of
libraries that are duplicated in our web app. Things like Lucene and
Jetty, for example. These would make our application, which is to be
installed locally, rather bloated. We'd like to strip these out and just
run Eclipse help as an OSGi bundle.
Re: Running an infocenter as a pure OSGi bundle [message #614429 is a reply to message #473905] Wed, 11 June 2008 17:39 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
What you are looking to do sounds like something that would be feasible
but I don't know of anyone who has done it yet. I can't immediately
think of any reason why if it would not work if you had all of the right
plugins installed and the servlets registered, but then again I have not
tried this so I can't really predict what issues you might run into.
Previous Topic:Multiple help plugin directories for workbench and standalone help
Next Topic:Eclipse 3.4 - .war deployment of a standalone help system
Goto Forum:
  


Current Time: Wed Dec 17 19:57:54 GMT 2014

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

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