You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/11/12 20:57:21 UTC

DO NOT REPLY [Bug 32212] New: - [PATCH] Enable development of blocks outside of cocoon source tree

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32212>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32212

[PATCH] Enable development of blocks outside of cocoon source tree

           Summary: [PATCH] Enable development of blocks outside of cocoon
                    source tree
           Product: Cocoon 2
           Version: Current SVN 2.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: ekstedt@ibg.uu.se


This patch enables development of new blocks outside of the cocoon source tree.
Suppose you're developing a block called myblock then you can write in your
local.blocks.properties:

block.myblock.dir=/path/to/myblock

You also need to add myblock to gump.xml. In /path/to/myblock you need to have a
directory layout similar to what normal blocks have ie conf, java, lib, samples etc.