cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: [2.2] Using includes in the sitemap for components?
Date Thu, 01 Sep 2005 08:48:44 GMT
Carsten Ziegeler wrote:

>Daniel Fagerstrom wrote:
>
>  
>
>>I have something like this in mind:
>>
>>/myblock
>>  pom.xml
>>  /META-INF
>>    Manifest.mf
>>  /COB-INF
>>    block.xml
>>    /xconf
>>      ...
>>    /sitemap-aditions
>>      ...
>>  /java
>>    ...
>>  /webapp
>>    sitemap.xmap
>>    ...
>> 
>>For the compile time blocks the content of 
>>COB-INF/[xconf|sitemap-additions] are added to the appropriate place in 
>>the global webapp/WEB-INF/[xconf|sitemap-additions], like you just have 
>>fixed.
>>
>>For real blocks the block.xml points to webapp/sitemap.xmap and 
>>COB-INF/xconf/myblock.xconf, and sitemap.xmap in turn includes 
>>COB-INF/sitemap-additions/myblock.xconf, and no copying anymore.
>>
>>The point is, that with a layout like the one above (or an improved 
>>one), we don't need to change anything, just add the block.xml and 
>>Manifest.mf for real blocks. Now, IMHO, it is no big deal if we use 
>>WEB-INF instead of COB-INF for the real blocks, but we decided COB-INF 
>>once, so we could as well stick with it.
>>
>>    
>>
>Oh yes, I totally agree with you - my point is just: we can't do this
>*now* as our ant based build system just copies files and folders. Once
>we have this m2 running and our own deploy plugin...
>  
>
Ok, I missed the ant aspect of it, then we wait. And I use WEB-INF 
instead of COB-INF for the real blocks stuff for the time beeing.

/Daniel


Mime
View raw message