cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Wildcard includes in cocoon.xconf
Date Wed, 19 Jan 2005 19:47:30 GMT
Stefano Mazzocchi wrote:
> Carsten Ziegeler wrote:
> 
>> Stefano Mazzocchi wrote:
>>
>>>
>>> what about reusing the code from the Wildcard matchers and have a 
>>> context://WEB-INF/xconf/*.xconf instead? alternatively, the traverse 
>>> code is already there... so you just need to do convert the above * 
>>> into .* and use a regexp package, voila'...
>>>
>> Yepp, sounds good to me, with the little change to separate the two 
>> parts, like this:
>>
>> <include dir="context://WEB-INF/xconf" pattern="*.xconf"/>
>>
>> WDYT?
> 
> 
> hmmm, I'd rather have one thing only... so that I can do stuff like
> 
>  context://WEB-INF/**/blocks/**/xconf/*.conf
> 
> ;-)

+1

-- 
Reinhard

Mime
View raw message