[ http://issues.apache.org/jira/browse/COCOON-1145?page=all ]
Pier Fumagalli updated COCOON-1145: ----------------------------------- Reporter: Ralph Goers (was: Ralph Goers) > [PATCH] Allow XConfToolTask to modify multiple attributes > --------------------------------------------------------- > > Key: COCOON-1145 > URL: http://issues.apache.org/jira/browse/COCOON-1145 > Project: Cocoon > Type: Improvement > Components: * Cocoon Core > Versions: 2.1.8-dev (Current SVN) > Environment: Operating System: All > Platform: All > Reporter: Ralph Goers > Assignee: Cocoon Developers Team > Priority: Minor > Attachments: patch-28704.diff > > The attached patch allows XConfToolTask to modify multiple attributes in a > single file. This is very useful in updating the pool parameters. > The immplemmentation requires that attributes names start with > "add-attribute-". > What follows the '-' is the attribute name. The value specified for this will > become the value of the attribute. For example, the following will modify the > pool-max, pool-min, and pool-grow attributes on the file generator. In > addition, it suppresses the comments that would normally be inserted. This is > useful when several patches are applied, some of which add new content while > some only modify attributes. > <xmap xpath="/sitemap/components/generators/[EMAIL PROTECTED]'file']" > add-attribute-pool-max="100" add-attribute-pool-min="25" > add-attribute-pool-grow="5" add-comments="false" > /> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira