cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: rcl.properties
Date Wed, 02 May 2007 09:12:09 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1298.html

Document ID: 1298
Branch: main
Language: default
Name: rcl.properties (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/2/07 9:12: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: 1813 bytes (previous version: 815 bytes)
Content diff:
(2 equal lines skipped)
    
    <h1>Location</h1>
    
--- <p>The default location of rcl.properties is at the root directory of your
--- block, next to pom.xml.</p>
+++ <p>The default location of <tt>rcl.properties</tt> is at the root directory
of
+++ your block, next to <tt>pom.xml.</tt></p>
    
    <h1>What can be configured?</h1>
    
    <h2>Classes directories of blocks</h2>
    
--- <h2>Spring properties</h2>
+++ <h3>Syntax</h3>
    
--- <h2>Classes directories of other libraries</h2>
+++ <p><tt>[name-of-the-block]%classes-dir=[path-to-a-blocks-classes-dir]</tt></p>
    
+++ <h3>Examples</h3>
+++ 
+++ <ul>
+++ <li><tt>com.mycompany.app.block%classes-dir=./target/classes</tt></li>
+++ <li><tt>com.mycompany.app.block2%classes-dir=C:/test/block2/target/classes</tt>
+++ </li>
+++ </ul>
+++ 
+++ <h2>Classes directories of libraries that are NOT blocks</h2>
+++ 
+++ <h3>Syntax</h3>
+++ 
+++ <p><tt>%classes-dir=[path-to-a-library]<br/>
+++ %exclude-lib=[groupId]:[artifactId]</tt></p>
+++ 
+++ <h3>Example</h3>
+++ 
+++ <p><tt>%classes-dir=</tt><tt><tt>C:</tt></tt><tt>/test/mylib/target/classes</tt>
+++ </p>
+++ 
+++ <p class="note">You can use the <tt>%classes-dir </tt>and <tt>%exclude-lib</tt>
+++ properties as often as you need in your properties file</p>
+++ 
+++ <h2>Cocoon properties and Spring bean configurator properties</h2>
+++ 
+++ <p>All other properties are either interpreted as <a href="daisy:1310">Cocoon
+++ properties</a> or <a href="daisy:1312">Spring bean properties</a>. The
+++ differenciation is done whether the property contains a "/" character. If so, it
+++ is considered as Spring bean configurator property.</p>
+++ 
    <h1>Variables interpolation and includes</h1>
    
    <p>As this configuration file is managed by
(10 equal lines skipped)


Mime
View raw message