cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject [M10N] separating samples from blocks
Date Sat, 22 Oct 2005 23:55:49 GMT
Hi,

How do people feel about moving sample content and source from a block
out of the block directory into its own location ?

eg something like

/src
   /blocks
          /cforms
               pom.xml
   /blocks-samples
          /cforms
               pom.xml

In maven speak, the cforms-samples block would just inherit from the
cforms block so the build and deployment link between the two blocks is
not lost.

Alternatively we could do
/src
   /blocks
          /cforms
              pom.xml
              /samples
                  /src
                     /java
                  pom.xml

so that at least the sample java sources are separated from the actual
block sources. At the moment these are kept together.

Note that maven can handle the current directory structure just fine by
using build profiles, but this is less transparent IMO.

I'm aware that this change impacts the branch build system for shared
blocks, no idea though how much effort would be involved.


Thoughts?
Jorg





Mime
View raw message