Trying to make this process: http://wiki.cocoondev.org/Wiki.jsp?page=YourCocoonBasedProject easier for users. Not married to this change, if people have objections or problems.
Geoff > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > ghoward 2003/05/31 10:04:46 > > Modified: src/targets webapp-build.xml > Log: > custom-conf target alters runtime configuration parameters > to ease configuration management for users (and lazy, > forgetful developers) > > Revision Changes Path > 1.18 +17 -1 cocoon-2.1/src/targets/webapp-build.xml > > Index: webapp-build.xml > =================================================================== > RCS file: /home/cvs/cocoon-2.1/src/targets/webapp-build.xml,v > retrieving revision 1.17 > retrieving revision 1.18 > diff -u -r1.17 -r1.18 > --- webapp-build.xml 26 May 2003 08:56:20 -0000 1.17 > +++ webapp-build.xml 31 May 2003 17:04:46 -0000 1.18 ... > + <target name="custom-conf" depends="init-tasks" > description="Uses Cocoon's xpatch task to customize runtime > configuration"> > + <xpatch file="${build.webapp}/sitemap.xmap" srcdir=""> > + <include name="${customconf}/*.xmap" /> > + <include name="src/confpatch/*.xpipe" /> > + </xpatch> > + <xpatch file="${build.webapp}/WEB-INF/cocoon.xconf" srcdir=""> > + <include name="${customconf}/*.xconf" /> > + </xpatch> > + <xpatch file="${build.webapp}/WEB-INF/logkit.xconf" srcdir=""> > + <include name="${customconf}/*.xlog" /> > + </xpatch> > + <xpatch file="${build.webapp}/WEB-INF/web.xml" srcdir=""> > + <include name="${customconf}/*.xweb" /> > + </xpatch> > </target>