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...
Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
