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

Reply via email to