From: "Peter Donald" <[EMAIL PROTECTED]>

> On Sat, 20 Oct 2001 01:23, Jose Alberto Fernandez wrote:
> > From: "Stefan Bodewig" <[EMAIL PROTECTED]>
> >
> > > On Fri, 19 Oct 2001, Jose Alberto Fernandez <[EMAIL PROTECTED]>
> > >
> > > wrote:
> > > > There is little reason to force users to check any possible
> > > > dependency graph in order to make sure all evaluation paths start at
> > > > "init". It is a waist of the developer time.
> > >
> > > If all my targets require the directory "build" to exist, I have to
> > > ensure that all my targets depend on my "setup" target with the
> > > appropriate <mkdir> task in it - I don't see that much of a
> > > difference.
> >
> > To a certain extend you are right.
> >
> > The only difference is that if the directory does not exists, then your
> > build most probably will fail. If instead your properties are not declared,
> > you will get "${lkjdsfa}" in the definition strings and the build will keep
> > on going wrongly.
> 
> Not in ant2. It will spit the dummy saying ${lkjdsfa} is not defined.
> 

Since when? When was this decision made? Where is the code for it?

> > I still think there is an intrinsic ANT concept of "actions that declare
> > things" that we need to take into account in a more general and orthogonal
> > fashion than what we do today. And no, they may not be just properties.
> 
> you keep saying that but I have yet to see an example.
> 

Well, we have the <property> task which declare things, we have the <taskdef> 
and
<typedef> which do a similar thing, we have the different <type> instance 
declarations
and we have the new <antlib> and <projectref> declarations. Ans that just cover 
what we have come up with at this point of the evolution of ANT. I doubt we can 
say that this is the end of it
and that ant will not evolve any further.

There is definetly a concept of declarations in ANT and if you do  not think 
this is the case 
you will have to prove it to me.

Jose Alberto

> -- 
> Cheers,
> 
> Pete
> 
> ------------------------------------
> The two secrets to success:
>    1- Don't tell anyone everything.
> ------------------------------------
> 

Reply via email to