You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Martin Man <Ma...@seznam.cz> on 2001/10/18 13:00:33 UTC

[VOTE] automounting (Was: Re: [PATCH] sub-sitemap automount suggestion)

On Thu, Oct 18, 2001 at 12:34:05PM +0200, Bertrand Delacretaz wrote:
> Hi committers,
> 
> I suggest adding the following to the standard sitemap.xmap - it would allow 
> sub-sitemaps to be "mounted" while Cocoon is running, by copying them 
> under the "mount" subdirectory, without having to modify the main 
> sitemap.xmap.
> 
> This is based on Stefan Koehler's message of yesterday re.Cocoon web 
> applications - thanks!
> 
>   <!-- "automount" setup
>     This causes directories added under "mount"
>     (even with Cocoon already running) to be activated automagically
>     if they contain a sitemap.xmap, without having to modify the main
>     sitemap.xmap
>   -->
>   <map:pipeline>
>     <map:match pattern="mount/*/**">
>       <map:mount uri-prefix="mount/{1}" src="mount/{1}/" check-reload="yes"/>
>     </map:match>
>   </map:pipeline>

I think this might be a nice feature to have per-default in a cocoon, but I
don't feel that sure to add it before asking the team, ...

so the team, please vote on

1) adding this to the default sitemap commented out, so that interested people
   can uncomment it and the default security policy stays safe-per-default

2) adding this fragment uncommented and create the mount/ subdirectory, so
   that people can start using it out-of-the-box

> -- 
>  -- Bertrand Delacrétaz, www.codeconsult.ch
>  -- web technologies consultant - OO, Java, XML, C++
> 

rgds,
martin
-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [VOTE] automounting (Was: Re: [PATCH] sub-sitemap automount suggestion)

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 18.Oct.2001 -- 01:00 PM, Martin Man wrote:
> On Thu, Oct 18, 2001 at 12:34:05PM +0200, Bertrand Delacretaz wrote:
> > I suggest adding the following to the standard sitemap.xmap - it would allow 
> > sub-sitemaps to be "mounted" while Cocoon is running, by copying them 
> > under the "mount" subdirectory, without having to modify the main 
> > sitemap.xmap.
> 
> I think this might be a nice feature to have per-default in a cocoon, but I
> don't feel that sure to add it before asking the team, ...
> 
> so the team, please vote on
> 
> 1) adding this to the default sitemap commented out, so that interested people
>    can uncomment it and the default security policy stays safe-per-default

> 
> 2) adding this fragment uncommented and create the mount/ subdirectory, so
>    that people can start using it out-of-the-box

+1 as I believe no one will actually deploy the example sitemap and it
   would ease updating cocoon around your own stuff. 

   Another idea would be, to enable it for HEAD and disable it for
   releases. 

   Still, we need a deploy format that could contain classes and
   logicsheets as well, without need to edit the master cocoon.xconf.

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


AW: [VOTE] automounting (Was: Re: [PATCH] sub-sitemap automount suggestion)

Posted by Carsten Ziegeler <cz...@sundn.de>.

> -----Ursprüngliche Nachricht-----
> Von: Martin Man [mailto:Martin.Man@seznam.cz]
> Gesendet: Donnerstag, 18. Oktober 2001 13:01
> An: cocoon-dev@xml.apache.org
> Betreff: [VOTE] automounting (Was: Re: [PATCH] sub-sitemap automount
> suggestion)
>
>
> On Thu, Oct 18, 2001 at 12:34:05PM +0200, Bertrand Delacretaz wrote:
> > Hi committers,
> >
> > I suggest adding the following to the standard sitemap.xmap -
> it would allow
> > sub-sitemaps to be "mounted" while Cocoon is running, by copying them
> > under the "mount" subdirectory, without having to modify the main
> > sitemap.xmap.
> >
> > This is based on Stefan Koehler's message of yesterday re.Cocoon web
> > applications - thanks!
> >
> >   <!-- "automount" setup
> >     This causes directories added under "mount"
> >     (even with Cocoon already running) to be activated automagically
> >     if they contain a sitemap.xmap, without having to modify the main
> >     sitemap.xmap
> >   -->
> >   <map:pipeline>
> >     <map:match pattern="mount/*/**">
> >       <map:mount uri-prefix="mount/{1}" src="mount/{1}/"
> check-reload="yes"/>
> >     </map:match>
> >   </map:pipeline>
>
> I think this might be a nice feature to have per-default in a
> cocoon, but I
> don't feel that sure to add it before asking the team, ...
>
> so the team, please vote on
>
> 1) adding this to the default sitemap commented out, so that
> interested people
>    can uncomment it and the default security policy stays safe-per-default
>
> 2) adding this fragment uncommented and create the mount/ subdirectory, so
>    that people can start using it out-of-the-box
>
+1 for 1), but adding documentation to the users, so that they know
about it.

Carsten

> > --
> >  -- Bertrand Delacrétaz, www.codeconsult.ch
> >  -- web technologies consultant - OO, Java, XML, C++
> >
>
> rgds,
> martin
> --
> 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org