cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Advice on configuration
Date Fri, 21 Jan 2000 22:13:05 GMT

you know Cocoon is a pretty complex software: it works on top of many
other software and it can be difficult to install, but I wanted to
simplify the installation burden very much. This is why I created the
resource:// URL handler.

Now, since URLHandlers are not that good to work with in a servlet
environment, I decided to remove the use of special URL protocols inside
Cocoon, at least, until we have a good underlying API for that
supports registering (see my previous mail).

Now, the need for resource:// comes up when we deal with XSP library
logicsheets. If you look at the configurations you find:

# Set the libraries associated with the given namespace.
# Use the syntax:
#   processor.xsp.library.<namespace-tag>.<language> = URL to file
# where "URL to file" is usually starting with file:/// if you locate 
# your custom library in your file system. =
resource://org/apache/cocoon/processor/xsp/library/java/context.xsl =
resource://org/apache/cocoon/processor/xsp/library/java/cookie.xsl =
resource://org/apache/cocoon/processor/xsp/library/java/global.xsl =
resource://org/apache/cocoon/processor/xsp/library/java/request.xsl =
resource://org/apache/cocoon/processor/xsp/library/java/response.xsl =
resource://org/apache/cocoon/processor/xsp/library/java/session.xsl =

which work right out of the box, but allow you to change them if you
need to.

My problem is: how do we make these properties work out of the box
(read: you don't need to touch them), but also they are located inside
the cocoon.jar file (so you don't mess with them)?

I'm stuck and I don't know what to do. Any help is appreciated.

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------

View raw message