Re: [Nant-users] Dynamically execute a target when it exists....

2005-05-13 Thread Gary Feldman
Ian MacLean wrote: from within a task ? that would be a neat trick - or did Thomas mean from within a *target* I couldn't think of any reasonable interpretation of "within a task" that didn't imply he was already within a custom task. Hence I interpreted it as "with a task," which I suppose is

Re: [Nant-users] Dynamically execute a target when it exists....

2005-05-12 Thread Ian MacLean
Gary Feldman wrote: Ian MacLean wrote: Thomas Tomiczek wrote: Ok, now things get intersting. Is there any way to execute a target from within a task? you could if you write your own custom task. Tasks have complete access to the Project object and its list of Targets. That's unnecessary. Just u

Re: [Nant-users] Dynamically execute a target when it exists....

2005-05-12 Thread Gary Feldman
Ian MacLean wrote: Thomas Tomiczek wrote: Ok, now things get intersting. Is there any way to execute a target from within a task? you could if you write your own custom task. Tasks have complete access to the Project object and its list of Targets. That's unnecessary. Just use the task. Gary --

[Nant-users] Dynamically execute a target when it exists....

2005-05-12 Thread Thomas Tomiczek
Title: Dynamically execute a target when it exists Ok, now things get intersting. Is there any way to execute a target from within a task? I try to get rid of the "additional" .build files. My idea is: * Every project has a central .build file, that includes the "main" build file

Re: [Nant-users] Dynamically execute a target when it exists....

2005-05-12 Thread Ian MacLean
Thomas Tomiczek wrote: Ok, now things get intersting. Is there any way to execute a target from within a task? you could if you write your own custom task. Tasks have complete access to the Project object and its list of Targets. Ian I try to get rid of the "additional" .build files. My idea i