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