>> -I thought it would be interesting if a target knew how to "clean" >> itself up. > >Clean up in which situation? Always, if a task that is enclosed in it >fails (if so, the clean up will probably depend on the task that >failed), if any other thing fails after this target has been executed? > >We might be setting wrong expectations if we did something like this.
I'm not sure what I was really thinking here... Just something like the rule in C++ programming, any class that needs either a constructor, destructor, copy constructor or ???(been a while) needs all 4. A target that knows how to "build" itself could also know how to "clean" itself. Paul
