You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by Apache Wiki <wi...@apache.org> on 2005/06/14 15:41:59 UTC

[Cocoon Wiki] Update of "BlockBuilder" by UnicoHommes

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by UnicoHommes:
http://wiki.apache.org/cocoon/BlockBuilder

------------------------------------------------------------------------------
  }}}
  
  == Recursive building ==
- The block building system resolves dependencies and calls the build scripts of blocks the current block depends on (snowball effect). Make sure, that any circular dependencies are declared because this would end in endless loops.
+ The block building system resolves dependencies and calls the build scripts of blocks the current block depends on (snowball effect). Make sure, that no circular dependencies are declared because this would end in endless loops.
  
  == Compile a block ==
  {{{
@@ -104, +104 @@

  <project default="compile" name="Build autentication-fw block">
  
      <property file="local.block.build.properties"/>
- 	<available file="${blockbuilder.root}" property="available.blockbuilder.root"/>
+     <available file="${blockbuilder.root}" property="available.blockbuilder.root"/>
      <fail unless="available.blockbuilder.root" 
-     	message="Property blockbuilder.root has to be set!"/>
+           message="Property blockbuilder.root has to be set!"/>
- 	
- 	<xslt in="descriptor.xml" 
+     <xslt in="descriptor.xml" 
- 		  out="build/temp/build-by-xslt.xml"
+           out="build/temp/build-by-xslt.xml"
- 	      style="${blockbuilder.root}/targets/block-descriptor2ant-script.xsl">
+           style="${blockbuilder.root}/targets/block-descriptor2ant-script.xsl">
- 	</xslt>
- 	
+     </xslt>
+ 
- 	<import file="build/temp/build-by-xslt.xml"/>
+     <import file="build/temp/build-by-xslt.xml"/>
- 	
+ 
  </project>
  }}}
  
@@ -152, +151 @@

  </target>
  }}}
  
- Overriden the target "after" breaks the interception unless in the custom implementation before-* and after-* are called.
+ Overriding the target "after" breaks the interception unless in the custom implementation before-* and after-* are called.
  
  = Building Cocoon core =
  Cocoon core is the root for all blocks and tasks that have a Cocoon core dependency rely on a couple of tasks in the Cocoon core build script: