You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by David Marshall <dm...@vmguys.com> on 2000/04/28 21:17:57 UTC

Patches for command-line Cocoon

I'm looking into embedding Cocoon into a JMS-based service to act as an
XML processing engine.
I started by looking at how the standalone / command line wrappers work,
but found I had to make a few minor changes to get Cocoon to work in
command line mode.

I've attached a diff against one of today's CVS snapshots.
I noticed that you added a new logger StdioLogger for use in
command-line mode.

I'd already written a slightly more general PrintStreamLogger, so I've
attached that too.

Is anyone else interested in embedding Cocoon (or Cocoon 2) in something
other than a servlet engine?

--
David Marshall           email: dmarshall@vmguys.com
VM Systems, Inc.         phone: 1-941-596-2480
Naples, FL USA           fax:   1-941-596-2483



Re: Patches for command-line Cocoon

Posted by Paul Russell <pa...@luminas.co.uk>.
On Fri, Apr 28, 2000 at 03:17:57PM -0400, David Marshall wrote:
> Is anyone else interested in embedding Cocoon (or Cocoon 2) in something
> other than a servlet engine?

Yep. I sent Pier a patch and tarball for spidering over a
sitemap and generating a static representation of a cocoon2
site a while back. It needs a *lot* of work done on it however
(and I've made quite a lot of changes myself since dispatching
the patch). It does, however work (I'm actually using it to
generate sites as we speak).

-- 
Paul Russell                               <pa...@luminas.co.uk>
Technical Director,                   http://www.luminas.co.uk
Luminas Ltd.

Re: Patches for command-line Cocoon

Posted by Stefano Mazzocchi <st...@apache.org>.
David Marshall wrote:
> 
> I'm looking into embedding Cocoon into a JMS-based service to act as an
> XML processing engine.
> I started by looking at how the standalone / command line wrappers work,
> but found I had to make a few minor changes to get Cocoon to work in
> command line mode.
> 
> I've attached a diff against one of today's CVS snapshots.
> I noticed that you added a new logger StdioLogger for use in
> command-line mode.
> 
> I'd already written a slightly more general PrintStreamLogger, so I've
> attached that too.
> 
> Is anyone else interested in embedding Cocoon (or Cocoon 2) in something
> other than a servlet engine?

Aim for Cocoon2... I won't add any more features to the Cocoon 1.x
trunk... but I'll have a serious look at your patches and report back
ASAP.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------