David Crossley wrote:
[EMAIL PROTECTED] wrote:

cziegeler 2003/03/04 08:34:35

 Modified:    .        build.xml
 Log:
 Making cocoon at least buildable;


Thanks. Actually, validation did work when i committed it.
Erk, i see what the problem was - i forgot to commit
the "any.rng" grammar ... sloppy, sorry.


why are there two validations and why in the init?


They are done once high up in the build to catch errors
with the default config files. Then they are done again
after the bits from the blocks have been merged. I thought
that my comments in the build.xml said that (i will clarify).

Why in the "init"? ... because it should fail straight away
if there are problems with the main config. Should that be
moved to another early build target?

configuration validation should happen right before the configuration is required. This means, that 'webapp' should depend on 'validate-config'.




Reply via email to