cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: CustomConfigTarget
Date Sat, 10 Jul 2004 02:13:54 GMT
   Date: 2004-07-09T19:13:54
   Editor: JoergHeinicke <joerg.heinicke@gmx.de>
   Wiki: Cocoon Wiki
   Page: CustomConfigTarget
   URL: http://wiki.apache.org/cocoon/CustomConfigTarget

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,4 +1,4 @@
-The XPatchTaskUsage task enables easier and survivable customization of the key Cocoon configuration
files: 
+The [:XPatchTaskUsage] task enables easier and survivable customization of the key Cocoon
configuration files: 
  *  cocoon.xconf
  *  the root sitemap.xmap
  *  web.xml
@@ -8,19 +8,19 @@
 
 === New build properties ===
 ''from build.properties''
-{{{# ---- Configuration -----------------------------------------------------------
-
-#  define the oracle driver class in web.xml:
-#include.driver.oracle=true
-#  define the postgresql driver class in web.xml:
-#include.driver.postgre=true 
-#  define the odbc driver class in web.xml:
-#include.driver.odbc=true 
-#   modify web.xml to allow use of ?cocoon-reload=true:
-#config.allow-reloads=true 
-#   modify web.xml to enable file uploads:
-#config.enable-uploads=true 
-#   currently unused, but useful for distinguishing environments:
+{{{# ---- Configuration -----------------------------------------------------------
+
+#  define the oracle driver class in web.xml:
+#include.driver.oracle=true
+#  define the postgresql driver class in web.xml:
+#include.driver.postgre=true 
+#  define the odbc driver class in web.xml:
+#include.driver.odbc=true 
+#   modify web.xml to allow use of ?cocoon-reload=true:
+#config.allow-reloads=true 
+#   modify web.xml to enable file uploads:
+#config.enable-uploads=true 
+#   currently unused, but useful for distinguishing environments:
 #config.live=true }}}
 
 These properties enable or disable xpatch files for a growing number of the most common 
@@ -31,22 +31,22 @@
 {{{build.bat custom-conf}}}
 
 The target is defined as below: 
-{{{<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="${customconf}/*.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 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="${customconf}/*.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>}}}
 
 As you can see, it reads patch files out of the {{${customconf} }} directory, which is defined
by default as {{customconf=${src}/confpatch}}.  Of course, this location can be overridden
as well.

Mime
View raw message