Date: 2004-10-28T06:57:47
Editor: ReinhardPoetz <[EMAIL PROTECTED]>
Wiki: Cocoon Wiki
Page: CocoonBlockBuilder
URL: http://wiki.apache.org/cocoon/CocoonBlockBuilder
no comment
Change Log:
------------------------------------------------------------------------------
@@ -25,7 +25,18 @@
Please consider this as a proposal. I don't know build tools like Maven in
depth so that I couldn't have prototyped my ideas like I've done it with Ant.
For the first, let's talk about functionality and then about tools.
=== How to use it? ===
-Checkout http(s)://svn.apache.org/repos/asf/cocoon/whiteboard/block-builder.
Make sure, that block.build.properties and blockbuilder.properties are correct
(which should work if you have the complete Cocoon SVN tree). Call "ant
compile" at /test/blocks/myblock/trunk.
+Checkout http(s)://svn.apache.org/repos/asf/cocoon/whiteboard/block-builder.
Make sure, that during build the property and blockbuilder.root is available.
Easiest way is adding a file with the name "local.block.build.properties" to
the root directory of the block.
+
+The content of local.block.build.properties could look like this:
+
+{{{
+# ---- BlockBuilder
-------------------------------------------------------------
+
+blockbuilder.root=../../../../dev
+
+}}}
+
+Then you can call one of the Ant tasks and compile the project (e.g. ant
compile).
=== Directory structure ===
In order to explain what I have done, let's take a look at the file system: