While we're talking about return values, what do people think of something
akin to task arguments?
<call target="build-something" somevariable="foo" />
<target name="build-something">
<delete file="${somevariable}" />
</target>
We currently do this with properties, but it would be easier to keep large
build files tidy if we had something akin to local scope...
Nick Varacalli
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erick Thompson
Sent: Friday, August 29, 2003 18:05
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Return values?
It might work for me as well, I haven't tried it. At the moment, I'm
doing ASP.NET projects, so I can easily put together filesets that
contain the correct files. I was more asking to get a better idea of the
way NAnt works.
Thanks,
Erick
> -----Original Message-----
> From: Jean Rajotte [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2003 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Return values?
>
>
> tasks don't work like this as it stands.
> i wonder if you couldn't regex the output from the solution
> task to get
> the list of built files.
> also, what didn't you think that having a project that "pulls" all the
> others in your solution is a workable approach. t'works for me on a
> large, convoluted projects.
> /jean
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Erick Thompson
> > Sent: Friday, August 29, 2003 14:32
> > To: [EMAIL PROTECTED]
> > Subject: [Nant-users] Return values?
> >
> >
> > This question might belong on the dev-list, of which I am not
> > a member, but I'll ask it here anyway. Does the NAnt
> > architecture support "returning" data from elements? For
> > example, it would be really handy to get a list of the files
> > built in a solution, perhaps with something like
> >
> > <copy ...>
> > <fileset>
> > <solution ... />
> > </fileset>
> > </copy>
> >
> > so, in essence, the solution "returns", or evaluates to, a
> > fileset. I know that the solution task doesn't do this, my
> > question was more if it was possible. It's a little lispy,
> > but it could be useful.
> >
> > Thanks,
> > Erick
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/n> ant-users
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users