Just added support for this function (target::has-executed('foo') to cvs ...
Gert ----- Original Message ----- From: "Scott Hernandez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 31, 2003 2:29 AM Subject: Re: [nant-dev] Change to "call" task makes upgrade difficult > I hear you; Maybe what we should do, is to put back support for <call > force="false"/>, would this work for you? > > In the next version we will have expression/function support. It will be > possible to do this (or something like it): > > <call target="foo" unless="target::has-executed('foo')/> > > I think this will give you the power to simplify things. > > What do you think? > > > Please post your patch for your <exec/> changes :) > ----- Original Message ----- > From: "James C. Papp" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, December 30, 2003 4:56 PM > Subject: [nant-dev] Change to "call" task makes upgrade difficult > > > > The change to the "call" task makes upgrading our build scripts to the > newest > > version of NAnt extremely difficult. We used the "call" task as a way to > > handle dynamic dependences, which cannot be accomplished with the > "depends" > > attribute on targets. > > > > If I submit a new task called "depends" that works like this: > > > > <target name="A"> > > <if propertytrue="foo"> > > <depends ontarget="B,C"/> > > </if> > > </target> > > > > ...would the NAnt development team be willing to incorporate it? It would > work > > just as the "depends" attribute does now, except targets only gets > resolved > > when the task is encountered. This way, the changes made to the "call" > task > > can stay the way they are. > > > > Currently, the only work around we have now, is to add many properties > that are > > used to prevent a tasks for being executed more then once. This new task > would > > make things much cleaner and simpler to understand. Comments welcomed, > > especially on the names. > > > > I also have some patches for the "exec" task which adds "resultproperty" > and > > "outputproperty" attributes, which functions just like Ant (though, > > "outputproperty" includes both standard and error streams and is returned > even > > if output is redirected). > > > > James. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > nant-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers