----- Original Message -----
From: "Jean Rajotte" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 5:26 PM
Subject: RE: [Nant-users] Incorrect dependency evaluation?

calling a target using the <call> task will now indeed cascade to the
dependencies' dependencies ...

> and another thing :)
>
> your build example could be done using call+force just as readily in the
> past as you have it now.

feel free to provide a sample to convince me, but I don't think we will be
change the new behaviour :-)

>
> my setprops example (30 targets depend on setprops, which should run
> only once unless forced otherwise) is broken and i'm not sure how to fix
> it.  basically, it seems depends= can't be trusted to run only once in
> any target because possibly this target may have been "called", in which
> case its dependency behaviour is different than if it wasn't called.

Hard to help you "fix" this without the details, but you might want to have
a look at the dynamic property support that I added recently.

>
> might as well say depends= don't count and always use <call if= force=
> />.

No, quite the opposite : use depends as much as possible, and only use the
<call> task when you want to re-execute the complete stack ...

>
> OK.  i AM sorry for gripping.  languages can/should evolve and things
> WILL get broken and it's just life.  however in this case, i think we
> just exchanged one convolution for another, except that now i have to
> refactor a bunch of code that was leaning on this basic MAKE idea that
> dependencies run once (and i'm not sure yet HOW to fix it).

dependencies indeed run only once ... only when you explicitly choose to run
a specific target again, the dependency chain will be walked again ...

> boohoohoo poor little ol' me.

If you send me a simple example of your build file, I'd love to help you out
...

Gert

>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Jean Rajotte
> > Sent: Thursday, November 20, 2003 11:08
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Nant-users] Incorrect dependency evaluation?
> >
> >
> > so, you're saying : CALLing a target forces to execute its
> > dependencies.
> >
> > does this cascade to the dependencies' dependencies (etc) ?
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?  SHARE THE LOVE, and help us
> > help YOU!  Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/n> ant-users
> >
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to