cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject RE: modifying attributes with xpatch
Date Fri, 30 Apr 2004 14:31:26 GMT
I've uploaded my patch to XConfToolTask to allow multiple attributes to be

I think you should check in your poolSetter ant task. It might not be
exactly what I want or need but it looks pretty good and I might decide to
use it.

The one thing I like about XConfToolTask is that it's instructions are in an
external file.  I've added logic to maven.xml to just apply whatever patch
files are there for sitemap.xmap or cocoon.xconf. That makes it pretty easy
to add new patches and maven.xml stays fairly simple.


-----Original Message-----
From: Carsten Ziegeler [] 
Sent: Thursday, April 29, 2004 11:28 PM
Subject: RE: modifying attributes with xpatch

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"

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.


> -----Original Message-----
> From: Upayavira [] 
> Sent: Friday, April 30, 2004 8:19 AM
> To:
> 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

View raw message