A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/1263.html
Document ID: 1263 Branch: main Language: default Name: What is a block? (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 10/6/06 10:40:07 AM Updated by: Reinhard Pötz A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 1889 bytes (previous version: 37 bytes) Content diff: --- <html><body><p>TODO</p></body></html> +++ <html> +++ <body> +++ +++ <p>Technically spoken, a block is a Java Archive (jar) file following a +++ particular directory structure:</p> +++ +++ <table> +++ <tbody> +++ <tr> +++ <th> +++ <p>Path</p> +++ </th> +++ <th> +++ <p>Patterns</p> +++ </th> +++ <th> +++ <p>Description</p> +++ </th> +++ </tr> +++ <tr> +++ <td><tt>/</tt><tt>COB-INF/sitemap.xmap</tt></td> +++ <td><tt>-</tt></td> +++ <td> +++ <p>Block sitemap</p> +++ </td> +++ </tr> +++ <tr> +++ <td><tt>/COB-INF/config/spring</tt></td> +++ <td><tt>*.xml</tt></td> +++ <td> +++ <p>Configuration files for Spring beans, that are only available within this +++ block. There is no way to access them from other blocks.</p> +++ </td> +++ </tr> +++ <tr> +++ <td><tt>/COB-INF/config/properties</tt></td> +++ <td><tt>*.properties</tt></td> +++ <td> +++ <p>Properties available within the sitemap.</p> +++ </td> +++ </tr> +++ <tr> +++ <td><tt>/COB-INF/*</tt></td> +++ <td> +++ <p>-</p> +++ </td> +++ <td> +++ <p>Cocoon resources</p> +++ </td> +++ </tr> +++ <tr> +++ <td><tt>/META-INF/spring</tt></td> +++ <td><tt>*.xml</tt></td> +++ <td> +++ <p>Configuration files for Spring beans, that are globally available. Make sure +++ that the bean ids are unique.</p> +++ </td> +++ </tr> +++ <tr> +++ <td valign="top"><tt>/META-INF/legacy/xconf</tt></td> +++ <td><tt>*.xconf</tt></td> +++ <td valign="top"> +++ <p>Avalon-style component configurations, that are globally available.</p> +++ </td> +++ </tr> +++ <tr> +++ <td valign="top"><tt>/META-INF/legacy/sitemap-additions</tt></td> +++ <td><tt>*.xmap</tt></td> +++ <td valign="top"> +++ <p>Avalon-style sitemap component configurations, that are globally available. +++ </p> +++ </td> +++ </tr> +++ <tr> +++ <td valign="top"><tt>/META-INF/properties</tt></td> +++ <td><tt>*.properties</tt></td> +++ <td valign="top"> +++ <p>Default values for properties.</p> +++ </td> +++ </tr> +++ <tr> +++ <td valign="top"><tt>/META-INF/properties/[running-mode]</tt></td> +++ <td><tt>*.properties</tt></td> +++ <td valign="top"> +++ <p>Properties valid for particular running modes.</p> +++ </td> +++ </tr> +++ <tr> +++ <td valign="top"> +++ <p>*</p> +++ </td> +++ <td/> +++ <td valign="top"> +++ <p>Java classes and resources</p> +++ </td> +++ </tr> +++ </tbody> +++ </table> +++ +++ </body> +++ </html>