[Isaac, this really is a qiestion for the user list, not the dev list which is about the development of Ant itself, not developing with Ant.]
On 2009-09-14, isaacsteele <isaac.ste...@zoominfo.com> wrote: > 1) Is this possible--that I execute a target at the end of a build > regardless of failure? Not out of the box, no. There are patches to enable this and I think I've even seen somebody implement a BuildListener that will invoke a target in the *finished event (which sounds dangerous given that the project instance thinks the build is over). > 2) What should my default target be (if I have two independent targets that > should be built)? Probably something like <target name="do-all-of-it" depends="C,D"/> > 3) I know I could use <failonerror> in subant and then make D dependent on > C, but then the build isn't marked as failed when finished. In the part I've snipped, you said C would fail if a test failed. do you really need subant at all? If not, then make <junit> set a property instead of making the build fail and later use <fail/> if that property has been set. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org