There is no mention in blocks.properties that cocoon forms depends on XSP. If XSP is excluded the cocoon forms samples won't run (due to missing declaration of serverpages generator).
Good point! Let's redefine dependencies by defining the kind of dependency. AFAIK, there are 2 kind of dependencies:
1-Component Level 2-Samples Level
With (1) I think it is no way get rid of it, because it is an internal dependency (the block needs some services from other blocks to work properly).
With (2) I disagree to "force" users to include a block in a build when the dependency is fully related to "samples of the block" that in production I will not use at all.
That way I think we need to document the "kind" of dependency needed by the block.
WDYT?
This issue came up already yesterday: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108008932822357&w=4 http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108009263225792&w=4
I proposed to give the dependency a @type.
Joerg
