cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: cvs commit: xml-cocoon2 build.xml
Date Fri, 07 Mar 2003 11:35:28 GMT
David Crossley wrote:
> cziegeler@apache.org 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'.


Mime
View raw message