cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: modifying attributes with xpatch
Date Fri, 30 Apr 2004 06:27:38 GMT
I have an additional ant task that uses the following syntax:

    <poolSetter file="${webapp.dir}/WEB-INF/cocoon.xconf" isSitemap="false"
                poolMin="16" poolMax="32" poolGrow="4"
                element="session-manager authentication-manager
xslt-processor xml-parser xml-serializer xml-deserializer"/>
    <poolSetter file="${webapp.dir}/sitemap.xmap" isSitemap="true"
                poolMin="16" poolMax="32" poolGrow="4"
                element="generator:file"/>

It can set pool sizes for components in a sitemap and in the cocoon.xconf.
If it is of general interest I can commit the source.

Carsten

> -----Original Message-----
> From: Upayavira [mailto:uv@upaya.co.uk] 
> Sent: Friday, April 30, 2004 8:19 AM
> To: dev@cocoon.apache.org
> Subject: Re: modifying attributes with xpatch
> 
> Ralph Goers wrote:
> 
> > We are copying the sitemap from the cocoon build into ours and then 
> > using xpatch to modify it.  However, we need to change the 
> pool sizes 
> > for the various components.  I'd like to modify xpatch so 
> that it can 
> > modify multiple attributes in one patch file instead of having to 
> > provide a separate file for each attribute.  It would also 
> be "nicer"
> > to allow multiple patches (like changing all the pool 
> sizes) in a file.
> >
> >  
> >
> > I have no problem modifying xpatch if I can get some 
> suggestions on a 
> > good syntax to specify this.
> >
> >  
> >
> Why don't you suggest a syntax here? I'd be fine with this change.
> 
> Upayavira
> 


Mime
View raw message