David Leangen wrote:
If you look at the maven.xml file I attached to an earlier response you will see an xpatch task defined. This uses Cocoon's XConfToolTask to patch the root sitemap.xmap, cocoon.xconf, and any other XML files I might want to "patch". If you look at the blocks, many of them have a conf directory that has patch files in them. I believe this is documented on the wiki. Typically, I only modify the root sitemap to remove a couple of pipelines and to patch in decent pool values.Hi, Ralph! Thanks for your quick and helpful reply! :o) They all use the same Cocoon war. Each project has a file structure like: project - maven.xml - project.xml - project.properties - config - various patch files for the xpatch task - src - java - java source subdirectories - webapp - WEB-INF - web.xml (replacement for Cocoon's) - directory named after project - sitemap.xmap - project.roles (actually, also named after the project). - project subdirectories, each with their own sitemap. Maven unwars the cocoon war file into the target directory, compiles any java source, performs the patches in the config directory, copies the web.xml and the project directory (and subdirectories) and then creates a new war file. This happens for every project, if we want a separate webapp. To merge them we would need a project with multiple project subdirectories. Most everything else would be the same. Yeah. For some reason many of the emails I just do "reply" to from this list are directed to people, not the list. That should never happen, IMO. Sometimes I don't notice. As a rule I never try to respond off the list.Thanks for the advice! Dave BTW, is there a reason you sent this off-list? I think your advice would be useful for others, too, if you're willing to share. Ralph |
- RE: Deployment of Cocoon apps. Best practices? David Leangen
- RE: Deployment of Cocoon apps. Best practices? Eric Jacob
- RE: Deployment of Cocoon apps. Best practices? Frangos, Nick (SAPOL)
- RE: Deployment of Cocoon apps. Best practic... Kees van Dieren
- Re: Deployment of Cocoon apps. Best pra... Ralph Goers
- Re: Deployment of Cocoon apps. Best... Kees van Dieren
- RE: Deployment of Cocoon apps. Best practices? Ralph Goers
- RE: Deployment of Cocoon apps. Best practic... Eric Jacob
- Re: Deployment of Cocoon apps. Best pra... Ralph Goers
- Re: Deployment of Cocoon apps. Best... Bent Andr� Solheim
- RE: Deployment of Cocoon apps. Best... Eric Jacob
- Re: Deployment of Cocoon apps. Best practices? Bent Andr� Solheim
- Re: Deployment of Cocoon apps. Best practices? Bent Andr� Solheim
- Re: Deployment of Cocoon apps. Best practices? Bertrand Delacretaz
