You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2005/06/10 15:24:23 UTC

[DAISY] Updated: The Cocoon Build System

A document has been updated:

Document ID: 29
Branch: main
Language: default
Name: The Cocoon Build System (unchanged)
Document Type: Simple Document (unchanged)
Updated on: 6/10/05 1:24:04 PM
Updated by: Mark Leicester

A new version has been created, state: draft

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1285 bytes (previous version: 443 bytes)
Content diff:
(6 equal lines skipped)
    you <a href="daisy:12">build the default build</a> with everything enabled to
    get a feel for what Cocoon is and can do. After that, come back here.</p>
    
+++ <h1>Using Ant to build Cocoon</h1>
+++ 
+++ <p>The Cocoon build system is based on Ant.</p>
+++ 
+++ <h2>Precedence of properties in *.properties files</h2>
+++ 
+++ <p>As Ant runs, it makes use of the properties it finds in various .properties
+++ files. A property is set like this:</p>
+++ 
+++ <pre>exclude.all.blocks=true
+++ </pre>
+++ 
+++ <p>Once an Ant property is set it cannot be altered. Ant looks for properties
+++ found in .properties files in the following order:</p>
+++ 
+++ <ol>
+++ <li>cocoon.build.properties in the user's home directory.</li>
+++ <li>local.build.properties in the main project directory.</li>
+++ <li>build.properties in the main project directory.</li>
+++ </ol>
+++ 
+++ <p>For example, if cocoon.build.properties contains the line
+++ "exclude.all.blocks=true" then this will override any settings to the contrary
+++ in later files (i.e. in local.build.properties or build.properties).</p>
+++ 
    </body>
    </html>


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes