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 08:38:58 GMT
David Crossley wrote:
> 
> Carsten Ziegeler wrote:
> > David Crossley wrote:
> <snip/>
> > > 
> > > 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.
> 
> Thanks, i did not know that. So then targets do not explicitly
> need a ... depends="init", like we have now.
> 
They need - sorry, it was a rather short description from me. The
"init" is executed for any target, because we have the depends="init"
clause for each target as some basic settings like paths and
properties are set there.

> I have moved that stuff out of "init" and into "prepare".
Great! Thanks, David!

Carsten

Mime
View raw message