cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Bertram <k.bert...@kbsm.de>
Subject Re: [PATCH] small Patch for blocks-build.xsl
Date Thu, 18 Mar 2004 08:45:02 GMT
Joerg Heinicke wrote:
> On 17.03.2004 15:38, Klaus Bertram wrote:
> 
>> 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?
yes, i copy the orig to a new and add my 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 ;)
> 
>> here is the diff
> 
> 
> In this case it was easy to find, but please provide a "diff -u" the 
> next time. Thanks.
up's sorry :(
> 
>> 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

Mime
View raw message