What do people think of these two global task attributes. When I say
global I mean all (or almost all tasks would implement these - like if,
unless, etc..)
1. force
This attribute would have to be implemented on a task by task basis but
I think that any task does dependency checking should
I like both of them. However, I have some issues with the force
attribute.
I would think the purpose of force would be to ensure that for a
one-time build everything got built. That is, it wouldn't normally be
used. I might use it if I thought that my objects were out
of date, or
if
I'm not quite so convinced about this one. Are there any
specific tasks
you'd like to see that supported this? (besides exe)? I'm
also worried about
the possible complexity it would bring to tasks just to get
them to print a
simple message. For example, how would it relate to Verbose?
This is a little different than other approaches we've had
before, but here's one approach I think could work: Don't
make it an actual property! Instead, make it an actual
command line switch, like:
nant.Console.exe -force build
Then, have that set a real Property of the Project