On 17.03.2004 15:38, Klaus Bertram wrote:yes, i copy the orig to a new and add my block
Hi all,
I make a small patch for the blocks-build.xls at the jar build section.
So now it is possible to generate jars form package name in the gump block.
This is so small that i don t make a bugzilla patch.
Are you using gump for building your own block?
then i use the local.build.properties and change gump.xml to my filename
Ok it would be nice to have a local.gump.xml which was called after the gump.xml ;)
up's sorry :(
here is the diff
In this case it was easy to find, but please provide a "diff -u" the next time. Thanks.
Index: blocks-build.xsl
===================================================================
RCS file: /home/cvspublic/cocoon-2.1/tools/src/blocks-build.xsl,v
retrieving revision 1.52
diff -w -b -r1.52 blocks-build.xsl
432c432
< <include name="org/**"/>
---
> <include name="{substring-before(package/text(),'.')}/**"/>
Wouldn't it be better to use "{translate(package/text(), '.', '/')}/**"?
Joerg
translate() ? where comes it from
Klaus
