cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Praher <>
Subject build blocks - minor thing - and patch
Date Wed, 19 Mar 2003 14:27:42 GMT
hi all,

I found the following problem when compiling the whole cocoon-2.1-dev:

blocks that have no configuration files in their /conf directory result
in no "conf" directory at all in the ${build.blocks}/name directory.

this again results in a NullPointerException in the XConfTool ant task,
since it assumes that the directory exists.

one could solve it by:

a) patching the XConfTool to check if the path realy exists
b) patching the blocks-build.xsl to not only copy all from ${blocks} to
${build.blocks} but also create the conf file manually if there are no
conf files in it.
c) excluding the ant-call to "{$block-name}-patches" from a block which
has no conf files.

I have chosen to use b) - attached see my small patch. 


-- Jakob

View raw message