You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Daniel Fagerstrom <da...@nada.kth.se> on 2005/07/05 23:26:35 UTC
[osgi] The CocoonServlet runs under OSGi!
After the latest commit to osgi it is possible to serve webpages through
OSGi. Most of the core samples works.
There are still some limitations that means that one have to comment
away some stuff in the webapp configuration files and sitemap to make it
work, see the README for details. This is related to that OSGi R3s
doesn't allow directory listing access as discussed in
http://marc.theaimsgroup.com/?t=111995635000002&r=1&w=2.
The main bundles involved are:
cocoon - contains cocoon.jar and all libraries it depends on
cocoon_webapp - contains the webapp samples from trunk
cocoon_servlet - looks for the webapp bundle, creates the CocoonServlet
and register it in the http service.
HTTP Server - http service bundle that one can register servlets in.
--- o0o ---
The immediate TODOs are:
* Change OSGi framework from Knopflerfish to Eclipse, to make directory
listing in bundles possible.
* Implement a transversible bundle soutce. After this most (or
everything?) that works ordinary should work under OSGi as well
* Then I would like to move the OSGi stuff to trunk and start to
integrate it with the build system and start script. The current build
system for the bundles that not is connected to the build system in
trunk, is rather painfull during development. Ant integration is
unpractical to do without moving.
/Daniel
Re: [osgi] The CocoonServlet runs under OSGi!
Posted by Daniel Fagerstrom <da...@nada.kth.se>.
Reinhard Poetz wrote:
> Daniel Fagerstrom wrote:
>
>> After the latest commit to osgi it is possible to serve webpages
>> through OSGi. Most of the core samples works.
>
>
> wow!!!
:)
> <snip/>
>
>> * Then I would like to move the OSGi stuff to trunk and start to
>> integrate it with the build system and start script. The current build
>> system for the bundles that not is connected to the build system in
>> trunk, is rather painfull during development. Ant integration is
>> unpractical to do without moving.
>
> As I spent a lot of time in working on and thinking about the build
> system I will help here.
Great, I'll describe the requirements soon so that we can start to work
on that.
> One question: Do you want to move to Eclipse
> before or after the merge with trunk?
I'd like to move to Eclipse first, which hopefully is not such a big
deal. All bundles are installable as is, there are still some dependency
issues to track down. Compared to the plan of yesterday, it would be
better to move before writing the bundle source as it will be hard to
test it whithout puting it in core.
> (no panic, AFAIU we don't need to break anything for this integration)
Do people find a need for a vote or poll about moving the OSGi stuff to
the trunk? As Reinhard says, its not going to break anything, but it
will mean that we start to put dependencies on the OSGi framework jar in
core. Rather soon it will be hard to make much more progress whithout
such a step.
WDYT?
/Daniel
Re: [osgi] The CocoonServlet runs under OSGi!
Posted by Reinhard Poetz <re...@apache.org>.
Daniel Fagerstrom wrote:
> After the latest commit to osgi it is possible to serve webpages through
> OSGi. Most of the core samples works.
wow!!!
<snip/>
> * Then I would like to move the OSGi stuff to trunk and start to
> integrate it with the build system and start script. The current build
> system for the bundles that not is connected to the build system in
> trunk, is rather painfull during development. Ant integration is
> unpractical to do without moving.
As I spent a lot of time in working on and thinking about the build system I
will help here. One question: Do you want to move to Eclipse before or after the
merge with trunk?
(no panic, AFAIU we don't need to break anything for this integration)
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
Re: [osgi] The CocoonServlet runs under OSGi!
Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 5 juil. 05, à 23:26, Daniel Fagerstrom a écrit :
> After the latest commit to osgi it is possible to serve webpages
> through OSGi. Most of the core samples works...
Congratulations! I'll have a look ASAP, or on the train to Stuttgart at
the latest ;-)
-Bertrand