cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: cvs commit: xml-cocoon2 build.xml
Date Wed, 05 Mar 2003 07:17:18 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.
> 
No problem.

> > 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?
> 
The problem with "init" is, that it is executed for any target,
so even if you make a "build clean", init is executed and this
then tries to validate. Yesterday I wasn't even able to make
a "build clean" because of "validation errors". So, I think
this is the wrong place.

Carsten

Mime
View raw message